[gtk+] gtk-demo: This is not a unique app
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk-demo: This is not a unique app
- Date: Sat, 12 Jul 2014 05:14:41 +0000 (UTC)
commit e29d0a0a383df076585685baaffefc7b8c21a7cb
Author: Benjamin Otte <otte redhat com>
Date: Sat Jul 12 07:12:49 2014 +0200
gtk-demo: This is not a unique app
When running gtk-demo a 2nd time, it's usually to compare its
output with a different version of gtk-demo.
demos/gtk-demo/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index 1f3a821..7f576f6 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -1021,7 +1021,7 @@ main (int argc, char **argv)
}
/* -- End of hack -- */
- app = gtk_application_new ("org.gtk.Demo", 0);
+ app = gtk_application_new ("org.gtk.Demo", G_APPLICATION_NON_UNIQUE);
g_action_map_add_action_entries (G_ACTION_MAP (app),
app_entries, G_N_ELEMENTS (app_entries),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]