[gnome-settings-daemon] media-keys: Call stop from finalize
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] media-keys: Call stop from finalize
- Date: Fri, 17 Oct 2014 15:27:05 +0000 (UTC)
commit 2c8bab8c8c7b798834fd15aa1ab3e3bebe2163c1
Author: Rui Matos <tiagomatos gmail com>
Date: Fri Oct 17 16:45:40 2014 +0200
media-keys: Call stop from finalize
plugins/media-keys/gsd-media-keys-manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index e43e65d..dcd14f2 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -2598,6 +2598,8 @@ gsd_media_keys_manager_finalize (GObject *object)
g_return_if_fail (media_keys_manager->priv != NULL);
+ gsd_media_keys_manager_stop (media_keys_manager);
+
if (media_keys_manager->priv->inhibit_keys_fd != -1)
close (media_keys_manager->priv->inhibit_keys_fd);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]