[gnome-settings-daemon] a11y-keyboard: GCC 4.6 warning fixes



commit a48e9dfed87983c8319849fb9f90574f4922958a
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Wed Mar 2 18:11:24 2011 +0000

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

 plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c
index 108ea94..f62fd2a 100644
--- a/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c
+++ b/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c
@@ -1062,10 +1062,6 @@ gsd_a11y_keyboard_manager_set_property (GObject        *object,
                                         const GValue   *value,
                                         GParamSpec     *pspec)
 {
-        GsdA11yKeyboardManager *self;
-
-        self = GSD_A11Y_KEYBOARD_MANAGER (object);
-
         switch (prop_id) {
         default:
                 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
@@ -1079,10 +1075,6 @@ gsd_a11y_keyboard_manager_get_property (GObject        *object,
                                         GValue         *value,
                                         GParamSpec     *pspec)
 {
-        GsdA11yKeyboardManager *self;
-
-        self = GSD_A11Y_KEYBOARD_MANAGER (object);
-
         switch (prop_id) {
         default:
                 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
@@ -1096,9 +1088,6 @@ gsd_a11y_keyboard_manager_constructor (GType                  type,
                                        GObjectConstructParam *construct_properties)
 {
         GsdA11yKeyboardManager      *a11y_keyboard_manager;
-        GsdA11yKeyboardManagerClass *klass;
-
-        klass = GSD_A11Y_KEYBOARD_MANAGER_CLASS (g_type_class_peek (GSD_TYPE_A11Y_KEYBOARD_MANAGER));
 
         a11y_keyboard_manager = GSD_A11Y_KEYBOARD_MANAGER (G_OBJECT_CLASS (gsd_a11y_keyboard_manager_parent_class)->constructor (type,
                                                                                                       n_construct_properties,
@@ -1110,10 +1099,6 @@ gsd_a11y_keyboard_manager_constructor (GType                  type,
 static void
 gsd_a11y_keyboard_manager_dispose (GObject *object)
 {
-        GsdA11yKeyboardManager *a11y_keyboard_manager;
-
-        a11y_keyboard_manager = GSD_A11Y_KEYBOARD_MANAGER (object);
-
         G_OBJECT_CLASS (gsd_a11y_keyboard_manager_parent_class)->dispose (object);
 }
 



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