mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
gio: Add missing (nullable) annotation
Add it to g_application_command_line_get_cwd(). Also add a clarifying internal comment about the cwd private member. https://bugzilla.gnome.org/show_bug.cgi?id=700756
This commit is contained in:
parent
c91411464e
commit
f8ff1049d3
@ -230,7 +230,7 @@ struct _GApplicationCommandLinePrivate
|
||||
GVariant *arguments;
|
||||
GVariant *options;
|
||||
GVariantDict *options_dict;
|
||||
gchar *cwd;
|
||||
gchar *cwd; /* in GLib filename encoding, not UTF-8 */
|
||||
|
||||
gchar **environ;
|
||||
gint exit_status;
|
||||
@ -552,7 +552,7 @@ g_application_command_line_get_stdin (GApplicationCommandLine *cmdline)
|
||||
* The return value should not be modified or freed and is valid for as
|
||||
* long as @cmdline exists.
|
||||
*
|
||||
* Returns: (type filename): the current directory, or %NULL
|
||||
* Returns: (nullable) (type filename): the current directory, or %NULL
|
||||
*
|
||||
* Since: 2.28
|
||||
**/
|
||||
|
Loading…
Reference in New Issue
Block a user