gpointing-device-settings r154 - trunk/modules/common
- From: hiikezoe svn gnome org
- To: svn-commits-list gnome org
- Subject: gpointing-device-settings r154 - trunk/modules/common
- Date: Sat, 7 Mar 2009 09:57:44 +0000 (UTC)
Author: hiikezoe
Date: Sat Mar 7 09:57:43 2009
New Revision: 154
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=154&view=rev
Log:
remove needledd function.
Modified:
trunk/modules/common/gpds-mouse-xinput.c
trunk/modules/common/gpds-mouse-xinput.h
trunk/modules/common/gpds-touchpad-xinput.c
Modified: trunk/modules/common/gpds-mouse-xinput.c
==============================================================================
--- trunk/modules/common/gpds-mouse-xinput.c (original)
+++ trunk/modules/common/gpds-mouse-xinput.c Sat Mar 7 09:57:43 2009
@@ -27,12 +27,6 @@
#include <gpds-xinput.h>
#include <gpds-xinput-utils.h>
-static const gchar *mouse_device_names[] = {
- "TPPS/2 IBM TrackPoint"
-};
-
-static const gint n_mouse_device_names = G_N_ELEMENTS(mouse_device_names);
-
static GpdsMouseXInputProperty properties[] = {
{GPDS_MOUSE_MIDDLE_BUTTON_EMULATION, "Evdev Middle Button Emulation", 8, 1},
{GPDS_MOUSE_MIDDLE_BUTTON_TIMEOUT, "Evdev Middle Button Timeout", 32, 1},
@@ -85,18 +79,6 @@
return -1;
}
-const gchar *
-gpds_mouse_xinput_find_device_name (void)
-{
- gint i;
-
- for (i = 0; i < n_mouse_device_names; i++) {
- if (gpds_xinput_utils_exist_device(mouse_device_names[i]))
- return mouse_device_names[i];
- }
- return NULL;
-}
-
/*
vi:ts=4:nowrap:ai:expandtab:sw=4
*/
Modified: trunk/modules/common/gpds-mouse-xinput.h
==============================================================================
--- trunk/modules/common/gpds-mouse-xinput.h (original)
+++ trunk/modules/common/gpds-mouse-xinput.h Sat Mar 7 09:57:43 2009
@@ -45,8 +45,6 @@
const gchar *gpds_mouse_xinput_get_name (GpdsMouseProperty property);
gint gpds_mouse_xinput_get_format_type (GpdsMouseProperty property);
gint gpds_mouse_xinput_get_max_value_count (GpdsMouseProperty property);
-const gchar *gpds_mouse_xinput_find_device_name (void);
-
#endif /* __GPDS_MOUSE_XINPUT_H__ */
/*
Modified: trunk/modules/common/gpds-touchpad-xinput.c
==============================================================================
--- trunk/modules/common/gpds-touchpad-xinput.c (original)
+++ trunk/modules/common/gpds-touchpad-xinput.c Sat Mar 7 09:57:43 2009
@@ -27,13 +27,6 @@
#include <gpds-xinput.h>
#include <gpds-xinput-utils.h>
-static const gchar *touchpad_device_names[] = {
- "SynPS/2 Synaptics TouchPad",
- "AlpsPS/2 ALPS GlidePoint"
-};
-
-static const gint n_touchpad_device_names = G_N_ELEMENTS(touchpad_device_names);
-
static GpdsTouchpadXInputProperty properties[] = {
{GPDS_TOUCHPAD_EDGES, "Synaptics Edges", G_TYPE_INT, 32, 4},
{GPDS_TOUCHPAD_FINGER, "Synaptics Finger", G_TYPE_INT, 32, 3},
@@ -109,19 +102,6 @@
return -1;
}
-const gchar *
-gpds_touchpad_xinput_find_device_name (void)
-{
- gint i;
-
- for (i = 0; i < n_touchpad_device_names; i++) {
- if (gpds_xinput_utils_exist_device(touchpad_device_names[i]))
- return touchpad_device_names[i];
- }
- return NULL;
-}
-
-
/*
vi:ts=4:nowrap:ai:expandtab:sw=4
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]