[gpointing-device-settings] Remove unused variable.
- From: Hiroyuki Ikezoe <hiikezoe src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gpointing-device-settings] Remove unused variable.
- Date: Tue, 19 Jan 2010 10:07:25 +0000 (UTC)
commit 9d7f04553c80499db6403965f6313bc2ea16ef92
Author: Hiroyuki Ikezoe <poincare ikezoe net>
Date: Tue Jan 19 19:01:12 2010 +0900
Remove unused variable.
src/gpds-xinput.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/gpds-xinput.c b/src/gpds-xinput.c
index 8e5af89..0ad7d34 100644
--- a/src/gpds-xinput.c
+++ b/src/gpds-xinput.c
@@ -35,7 +35,6 @@ typedef struct _GpdsXInputPriv GpdsXInputPriv;
struct _GpdsXInputPriv
{
gchar *device_name;
- XDeviceInfo *device_info_list;
XDevice *device;
GpdsXInputPropertyEntry *property_entries;
guint n_property_entries;
@@ -88,7 +87,6 @@ gpds_xinput_init (GpdsXInput *xinput)
GpdsXInputPriv *priv = GPDS_XINPUT_GET_PRIVATE(xinput);
priv->device_name = NULL;
- priv->device_info_list = NULL;
priv->device = NULL;
priv->property_entries = NULL;
}
@@ -100,11 +98,6 @@ dispose (GObject *object)
g_free(priv->device_name);
- if (priv->device_info_list) {
- XFreeDeviceList(priv->device_info_list);
- priv->device_info_list = NULL;
- }
-
if (priv->device) {
XCloseDevice(GDK_DISPLAY(), priv->device);
priv->device = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]