[rhythmbox] power-manager: it is a good idea to store the cookie somewhere
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] power-manager: it is a good idea to store the cookie somewhere
- Date: Thu, 4 Apr 2013 09:15:45 +0000 (UTC)
commit 8cffe5aed7f446a31426685208026d5f859a1509
Author: Jonathan Matthew <jonathan d14n org>
Date: Thu Apr 4 19:15:09 2013 +1000
power-manager: it is a good idea to store the cookie somewhere
Maybe my monitors will turn off at some point now.
plugins/power-manager/rb-power-manager-plugin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power-manager/rb-power-manager-plugin.c b/plugins/power-manager/rb-power-manager-plugin.c
index 70b48d4..4233d73 100644
--- a/plugins/power-manager/rb-power-manager-plugin.c
+++ b/plugins/power-manager/rb-power-manager-plugin.c
@@ -94,7 +94,7 @@ inhibit (RBGPMPlugin *plugin)
NULL);
g_object_unref (shell);
- gtk_application_inhibit (app, window, GTK_APPLICATION_INHIBIT_IDLE, _("Playing"));
+ plugin->cookie = gtk_application_inhibit (app, window, GTK_APPLICATION_INHIBIT_IDLE, _("Playing"));
g_object_unref (window);
g_object_unref (app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]