docs: gtk_init_with_args will also fail if the commandline was invalid

Be more explicit to match the gtk_init_check documentation.

https://bugzilla.gnome.org/show_bug.cgi?id=771959
This commit is contained in:
Debarshi Ray 2017-07-21 17:29:01 +02:00
parent 1031fa914a
commit 66b24f29e1

View File

@ -950,8 +950,9 @@ gtk_get_option_group (gboolean open_default_display)
* `--help` output. Note that your program will
* be terminated after writing out the help output.
*
* Returns: %TRUE if the windowing system has been successfully
* initialized, %FALSE otherwise
* Returns: %TRUE if the commandline arguments (if any) were valid and
* if the windowing system has been successfully initialized,
* %FALSE otherwise
*
* Since: 2.6
*/