[gnome-nibbles] Force app uniqueness



commit 6ca19ee897f97d01fd4b09c29d1c27f1cf2cb500
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue May 20 14:05:52 2014 -0500

    Force app uniqueness
    
    It doesn't make sense to allow multiple games of Nibbles from the same
    seat.

 src/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index c904455..1be6f14 100644
--- a/src/main.c
+++ b/src/main.c
@@ -743,7 +743,7 @@ main (int argc, char **argv)
   properties = gnibbles_properties_new ();
   gnibbles_load_pixmap (properties->tilesize);
 
-  app = gtk_application_new (NULL, G_APPLICATION_FLAGS_NONE);
+  app = gtk_application_new ("org.gnome.nibbles", G_APPLICATION_FLAGS_NONE);
   g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
   status = g_application_run (G_APPLICATION (app), argc, argv);
   g_object_unref (app);


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