Commit f8ff1049 authored by Philip Withnall's avatar Philip Withnall

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
parent c9141146
......@@ -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
**/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment