[sound-juicer/wip/non-recursive-make: 1/15] Register with	session-manager
- From: Phillip Wood <pwood src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [sound-juicer/wip/non-recursive-make: 1/15] Register with	session-manager
- Date: Fri, 20 Feb 2015 11:30:28 +0000 (UTC)
commit ca153b61368819db919a84c09bb268b233dd718f
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Wed Sep 10 10:05:34 2014 +0100
    Register with session-manager
 src/sj-main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/sj-main.c b/src/sj-main.c
index 603541a..3dad80c 100644
--- a/src/sj-main.c
+++ b/src/sj-main.c
@@ -2481,6 +2481,7 @@ int main (int argc, char **argv)
   app = gtk_application_new ("org.gnome.sound-juicer",
                              G_APPLICATION_FLAGS_NONE);
 
+  g_object_set (app, "register-session", TRUE, NULL);
   g_signal_connect (app, "startup", G_CALLBACK (startup_cb), NULL);
   g_signal_connect (app, "activate", G_CALLBACK (activate_cb), NULL);
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]