[gthumb] set register-session to true in order to call gtk_application_inhibit



commit 5fad73ff46de6629736f263fb5b1d86de8798066
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Jun 13 12:02:29 2012 +0200

    set register-session to true in order to call gtk_application_inhibit

 gthumb/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/main.c b/gthumb/main.c
index 0aba7e4..2c62b6a 100644
--- a/gthumb/main.c
+++ b/gthumb/main.c
@@ -694,6 +694,7 @@ gth_application_new (void)
 {
         return g_object_new (gth_application_get_type (),
                              "application-id", "org.gnome.Gthumb",
+                             "register-session", TRUE, /* required to call gtk_application_inhibit */
                              "flags", 0,
                              NULL);
 }



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