summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo@endlessm.com>2015-07-30 16:46:50 -0700
committerCosimo Cecchi <cosimoc@gnome.org>2015-08-06 09:42:04 +0200
commit0ae7bbd3043bf9a3b5767578bfc2a04ab17dc511 (patch)
tree526d26afd3413e03a17e2f2e6c7e0ef98dbfd49a
parentdd4fb2c4a8f995b52db5809125d94270ca6b5c55 (diff)
downloadyelp-0ae7bbd3043bf9a3b5767578bfc2a04ab17dc511.tar.gz
application: don't steal activation timestamp
When using GtkApplication, nothing else should open the display before GtkApplication does. We should pass FALSE to gtk_get_option_group() to get that behavior. This fixes startup notification not working correctly for Yelp when the binary is already running. https://bugzilla.gnome.org/show_bug.cgi?id=753084
-rw-r--r--src/yelp-application.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yelp-application.c b/src/yelp-application.c
index e314e8b1..4c5159a1 100644
--- a/src/yelp-application.c
+++ b/src/yelp-application.c
@@ -234,7 +234,7 @@ yelp_application_cmdline (GApplication *app,
gint i;
context = g_option_context_new (NULL);
- g_option_context_add_group (context, gtk_get_option_group (TRUE));
+ g_option_context_add_group (context, gtk_get_option_group (FALSE));
g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
g_option_context_parse (context, &argc, arguments, NULL);