[gtk+/gtk-3-22] docs: gtk_init_with_args will also fail if the commandline was invalid



commit 66b24f29e10c6ad203b43617111766a4afca2984
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Jul 21 17:29:01 2017 +0200

    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

 gtk/gtkmain.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index e291bb3..0850324 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -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
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]