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



commit c2b10581e68296e3cb6aadb22292814128d2929f
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Wed Mar 2 18:15:53 2011 +0000

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

 plugins/mouse/gsd-mouse-manager.c |   15 ---------------
 plugins/mouse/gsd-timeline.c      |    2 --
 2 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
index 3ebf2a6..0d85e74 100644
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -103,10 +103,6 @@ gsd_mouse_manager_set_property (GObject        *object,
                                const GValue   *value,
                                GParamSpec     *pspec)
 {
-        GsdMouseManager *self;
-
-        self = GSD_MOUSE_MANAGER (object);
-
         switch (prop_id) {
         default:
                 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
@@ -120,10 +116,6 @@ gsd_mouse_manager_get_property (GObject        *object,
                                GValue         *value,
                                GParamSpec     *pspec)
 {
-        GsdMouseManager *self;
-
-        self = GSD_MOUSE_MANAGER (object);
-
         switch (prop_id) {
         default:
                 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
@@ -137,9 +129,6 @@ gsd_mouse_manager_constructor (GType                  type,
                               GObjectConstructParam *construct_properties)
 {
         GsdMouseManager      *mouse_manager;
-        GsdMouseManagerClass *klass;
-
-        klass = GSD_MOUSE_MANAGER_CLASS (g_type_class_peek (GSD_TYPE_MOUSE_MANAGER));
 
         mouse_manager = GSD_MOUSE_MANAGER (G_OBJECT_CLASS (gsd_mouse_manager_parent_class)->constructor (type,
                                                                                                       n_construct_properties,
@@ -151,10 +140,6 @@ gsd_mouse_manager_constructor (GType                  type,
 static void
 gsd_mouse_manager_dispose (GObject *object)
 {
-        GsdMouseManager *mouse_manager;
-
-        mouse_manager = GSD_MOUSE_MANAGER (object);
-
         G_OBJECT_CLASS (gsd_mouse_manager_parent_class)->dispose (object);
 }
 
diff --git a/plugins/mouse/gsd-timeline.c b/plugins/mouse/gsd-timeline.c
index 748a0ad..e746631 100644
--- a/plugins/mouse/gsd-timeline.c
+++ b/plugins/mouse/gsd-timeline.c
@@ -237,10 +237,8 @@ gsd_timeline_set_property (GObject      *object,
 			   GParamSpec   *pspec)
 {
   GsdTimeline *timeline;
-  GsdTimelinePriv *priv;
 
   timeline = GSD_TIMELINE (object);
-  priv = GSD_TIMELINE_GET_PRIV (timeline);
 
   switch (prop_id)
     {



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