[libadwaita/wip/exalm/demo: 3/17] examples: Make the demo non-unique




commit 9eb6a098197b94cf6286929f53cdcf6129e6ca06
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Oct 12 17:01:40 2021 +0500

    examples: Make the demo non-unique
    
    Allow it to run from other flatpaks.

 examples/adwaita-demo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/examples/adwaita-demo.c b/examples/adwaita-demo.c
index bca716d0..13160cc7 100644
--- a/examples/adwaita-demo.c
+++ b/examples/adwaita-demo.c
@@ -37,7 +37,7 @@ main (int    argc,
     { "preferences", show_preferences, NULL, NULL, NULL },
   };
 
-  app = adw_application_new ("org.gnome.Adwaita.Demo", G_APPLICATION_FLAGS_NONE);
+  app = adw_application_new ("org.gnome.Adwaita.Demo", G_APPLICATION_NON_UNIQUE);
   g_action_map_add_action_entries (G_ACTION_MAP (app),
                                    app_entries, G_N_ELEMENTS (app_entries),
                                    app);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]