diff options
author | Murray Cumming <murrayc@murrayc.com> | 2012-05-28 10:59:56 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2012-05-28 16:16:56 +0200 |
commit | b3f2583a463f82821b1a87c2d2f020375bc5ac0c (patch) | |
tree | 1bb61842b967319a3d572fafa642c4f4394d1dd3 /gtk/gtkapplication.c | |
parent | 8637fd3546b3c9e3037cb6e256e28dfe81163ef1 (diff) | |
download | gtk+-b3f2583a463f82821b1a87c2d2f020375bc5ac0c.tar.gz |
gtk_application_new(): Docs: application_id may now be null.
https://bugzilla.gnome.org/show_bug.cgi?id=671249
Diffstat (limited to 'gtk/gtkapplication.c')
-rw-r--r-- | gtk/gtkapplication.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c index 24a580af9f..c46d4562d4 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 * |