[gtk+] gtk_application_new(): Docs: application_id may now be null.



commit b3f2583a463f82821b1a87c2d2f020375bc5ac0c
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon May 28 10:59:56 2012 +0200

    gtk_application_new(): Docs: application_id may now be null.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=671249

 gtk/gtkapplication.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index 24a580a..c46d456 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -754,7 +754,7 @@ gtk_application_class_init (GtkApplicationClass *class)
 
 /**
  * gtk_application_new:
- * @application_id: the application id
+ * @application_id (allow-none): The application ID.
  * @flags: the application flags
  *
  * Creates a new #GtkApplication instance.
@@ -774,7 +774,12 @@ gtk_application_class_init (GtkApplicationClass *class)
  * you can explicitly call gtk_init() before creating the application
  * instance.
  *
- * The application id must be valid. See g_application_id_is_valid().
+ * If non-%NULL, the application ID must be valid.  See
+ * g_application_id_is_valid().
+ *
+ * If no application ID is given then some features (most notably application 
+ * uniqueness) will be disabled. A null application ID is only allowed with 
+ * GTK+ 3.6 or later.
  *
  * Returns: a new #GtkApplication instance
  *



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