window: default_icon_name can be null

This commit is contained in:
Bilal Elmoussaoui 2020-11-24 17:35:46 +01:00 committed by Matthias Clasen
parent 2fcd0e21bd
commit 6a3bd1c4d1

View File

@ -3283,12 +3283,13 @@ gtk_window_set_default_icon_name (const char *name)
* gtk_window_get_default_icon_name: * gtk_window_get_default_icon_name:
* *
* Returns the fallback icon name for windows that has been set * Returns the fallback icon name for windows that has been set
* with gtk_window_set_default_icon_name(). The returned * with gtk_window_set_default_icon_name(), or %NULL if that function
* string is owned by GTK and should not be modified. It * has not been called.
* is only valid until the next call to
* gtk_window_set_default_icon_name().
* *
* Returns: the fallback icon name for windows * The returned string is owned by GTK and should not be modified.
* It is only valid until the next call to gtk_window_set_default_icon_name().
*
* Returns: (nullable): the fallback icon name for windows
*/ */
const char * const char *
gtk_window_get_default_icon_name (void) gtk_window_get_default_icon_name (void)