[gtk+] widget-factory: This is not a unique app



commit 62971dd9996e675879a5596005018e643e52ee6b
Author: Benjamin Otte <otte redhat com>
Date:   Sat Jul 12 07:11:30 2014 +0200

    widget-factory: This is not a unique app
    
    When running widget-factory a 2nd time, it's usually to compare its
    output with a different version of widget-factory.

 demos/widget-factory/widget-factory.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c
index 29bfc0c..af549dd 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -519,7 +519,7 @@ main (int argc, char *argv[])
   };
   gint status;
 
-  app = gtk_application_new ("org.gtk.WidgetFactory", 0);
+  app = gtk_application_new ("org.gtk.WidgetFactory", 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]