gpointing-device-settings r164 - trunk/src



Author: hiikezoe
Date: Sat Mar  7 12:19:46 2009
New Revision: 164
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=164&view=rev

Log:
remove unused value.

Modified:
   trunk/src/gpds-ui.c

Modified: trunk/src/gpds-ui.c
==============================================================================
--- trunk/src/gpds-ui.c	(original)
+++ trunk/src/gpds-ui.c	Sat Mar  7 12:19:46 2009
@@ -27,7 +27,6 @@
 #include <glib/gi18n.h>
 #include <gconf/gconf-client.h>
 #include "gpds-module.h"
-#include "gpds-xinput.h"
 #include "gpds-gconf.h"
 
 static GList *uis = NULL;
@@ -58,7 +57,6 @@
 struct _GpdsUIPriv
 {
     GtkBuilder *builder;
-    GpdsXInput *xinput;
     gchar *device_name;
     GConfClient *gconf;
 };
@@ -110,7 +108,6 @@
     GpdsUIPriv *priv = GPDS_UI_GET_PRIVATE(ui);
 
     priv->device_name = NULL;
-    priv->xinput = NULL;
     priv->builder = gtk_builder_new();
     priv->gconf = gconf_client_get_default();
 }
@@ -127,11 +124,6 @@
         priv->builder = NULL;
     }
 
-    if (priv->xinput) {
-        g_object_unref(priv->xinput);
-        priv->xinput = NULL;
-    }
-
     if (priv->gconf) {
         g_object_unref(priv->gconf);
         priv->gconf = NULL;



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