diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2013-12-02 21:31:13 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2013-12-03 10:50:07 -0500 |
commit | b57109adc84ac33434c5f514f65f0a381350ce17 (patch) | |
tree | f6e52507a2f7eef8a50f572fe4f9f36bfc327dd9 /demos | |
parent | f115af11d2977e6c39bc0470b58c0abb50a76d43 (diff) | |
download | gtk+-b57109adc84ac33434c5f514f65f0a381350ce17.tar.gz |
demo: change application name of inner demo
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/application.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/gtk-demo/application.c b/demos/gtk-demo/application.c index bdd35bf138..fa2d98d050 100644 --- a/demos/gtk-demo/application.c +++ b/demos/gtk-demo/application.c @@ -338,7 +338,7 @@ main (int argc, char *argv[]) gtk_init (NULL, NULL); - app = gtk_application_new ("org.gtk.Demo", 0); + app = gtk_application_new ("org.gtk.Demo2", 0); settings = g_settings_new ("org.gtk.Demo"); g_action_map_add_action_entries (G_ACTION_MAP (app), @@ -400,7 +400,7 @@ do_application (GtkWidget *toplevel) if (watch == 0) watch = g_bus_watch_name (G_BUS_TYPE_SESSION, - "org.gtk.Demo", + "org.gtk.Demo2", 0, on_name_appeared, on_name_vanished, @@ -428,8 +428,8 @@ do_application (GtkWidget *toplevel) else { g_dbus_connection_call_sync (g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, NULL), - "org.gtk.Demo", - "/org/gtk/Demo", + "org.gtk.Demo2", + "/org/gtk/Demo2", "org.gtk.Actions", "Activate", g_variant_new ("(sava{sv})", "quit", NULL, NULL), |