Merge branch 'gtk-3-24' into 'gtk-3-24'

docs: Do not call GTK APIs if gtk_init_check returns FALSE

See merge request GNOME/gtk!1617
This commit is contained in:
Matthias Clasen 2020-04-04 03:18:01 +00:00
commit 5a0891c69d

View File

@ -1090,6 +1090,9 @@ gtk_parse_args (int *argc,
* communication with the user - for example a curses or command line
* interface.
*
* Note that calling any GTK function or instantiating any GTK type after
* this function returns %FALSE results in undefined behavior.
*
* Returns: %TRUE if the commandline arguments (if any) were valid and
* the windowing system has been successfully initialized, %FALSE
* otherwise