[gnome-settings-daemon] media-keys: Compilation fixes
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] media-keys: Compilation fixes
- Date: Fri, 3 Jun 2011 00:50:55 +0000 (UTC)
commit 185e109941b4506d90b7e52aa1c7d3ea05e7d782
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jun 3 01:50:34 2011 +0100
media-keys: Compilation fixes
plugins/media-keys/gsd-media-keys-manager.c | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index b968689..21bc774 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -126,7 +126,7 @@ struct GsdMediaKeysManagerPrivate
static void gsd_media_keys_manager_class_init (GsdMediaKeysManagerClass *klass);
static void gsd_media_keys_manager_init (GsdMediaKeysManager *media_keys_manager);
static void gsd_media_keys_manager_finalize (GObject *object);
-
+static void register_manager (GsdMediaKeysManager *manager);
G_DEFINE_TYPE (GsdMediaKeysManager, gsd_media_keys_manager, G_TYPE_OBJECT)
static gpointer manager_object = NULL;
@@ -594,6 +594,16 @@ do_eject_action (GsdMediaKeysManager *manager)
}
static void
+do_touchpad_osd_action (GsdMediaKeysManager *manager, gboolean state)
+{
+ dialog_init (manager);
+ gsd_media_keys_window_set_action_custom (GSD_MEDIA_KEYS_WINDOW (manager->priv->dialog),
+ state ? "touchpad-enabled" : "touchpad-disabled",
+ FALSE);
+ dialog_show (manager);
+}
+
+static void
do_touchpad_action (GsdMediaKeysManager *manager)
{
GSettings *settings;
@@ -613,16 +623,6 @@ do_touchpad_action (GsdMediaKeysManager *manager)
g_object_unref (settings);
}
-static void
-do_touchpad_osd_action (GsdMediaKeysManager *manager, gboolean state)
-{
- dialog_init (manager);
- gsd_media_keys_window_set_action_custom (GSD_MEDIA_KEYS_WINDOW (manager->priv->dialog),
- state ? "touchpad-enabled" : "touchpad-disabled",
- FALSE);
- dialog_show (manager);
-}
-
#ifdef HAVE_PULSE
static void
update_dialog (GsdMediaKeysManager *manager,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]