[gnome-settings-daemon] keybindings: GCC 4.6 warning fixes



commit 76eee0caaac35e944212b158bef10324f1748fa2
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Wed Mar 2 18:14:56 2011 +0000

    keybindings: GCC 4.6 warning fixes
    
    https://bugzilla.gnome.org/show_bug.cgi?id=642803

 plugins/keybindings/gsd-keybindings-manager.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/plugins/keybindings/gsd-keybindings-manager.c b/plugins/keybindings/gsd-keybindings-manager.c
index 57f22d9..761d184 100644
--- a/plugins/keybindings/gsd-keybindings-manager.c
+++ b/plugins/keybindings/gsd-keybindings-manager.c
@@ -657,10 +657,6 @@ gsd_keybindings_manager_set_property (GObject        *object,
                                const GValue   *value,
                                GParamSpec     *pspec)
 {
-        GsdKeybindingsManager *self;
-
-        self = GSD_KEYBINDINGS_MANAGER (object);
-
         switch (prop_id) {
         default:
                 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
@@ -674,10 +670,6 @@ gsd_keybindings_manager_get_property (GObject        *object,
                                GValue         *value,
                                GParamSpec     *pspec)
 {
-        GsdKeybindingsManager *self;
-
-        self = GSD_KEYBINDINGS_MANAGER (object);
-
         switch (prop_id) {
         default:
                 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
@@ -691,9 +683,6 @@ gsd_keybindings_manager_constructor (GType                  type,
                               GObjectConstructParam *construct_properties)
 {
         GsdKeybindingsManager      *keybindings_manager;
-        GsdKeybindingsManagerClass *klass;
-
-        klass = GSD_KEYBINDINGS_MANAGER_CLASS (g_type_class_peek (GSD_TYPE_KEYBINDINGS_MANAGER));
 
         keybindings_manager = GSD_KEYBINDINGS_MANAGER (G_OBJECT_CLASS (gsd_keybindings_manager_parent_class)->constructor (type,
                                                                                                       n_construct_properties,
@@ -705,10 +694,6 @@ gsd_keybindings_manager_constructor (GType                  type,
 static void
 gsd_keybindings_manager_dispose (GObject *object)
 {
-        GsdKeybindingsManager *keybindings_manager;
-
-        keybindings_manager = GSD_KEYBINDINGS_MANAGER (object);
-
         G_OBJECT_CLASS (gsd_keybindings_manager_parent_class)->dispose (object);
 }
 



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