[gnome-settings-daemon] mouse: KEY_SCROLL_METHOD is an enum not an int.
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] mouse: KEY_SCROLL_METHOD is an enum not an int.
- Date: Tue, 12 Oct 2010 13:45:21 +0000 (UTC)
commit 914b1e30a66545ed408fe9daa1df1ec1285e33ef
Author: Alban Browaeys <prahal yahoo com>
Date: Tue Oct 12 12:39:53 2010 +0200
mouse: KEY_SCROLL_METHOD is an enum not an int.
https://bugzilla.gnome.org/show_bug.cgi?id=631963
plugins/mouse/gsd-mouse-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
index bade34e..d2462a1 100644
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -1037,7 +1037,7 @@ gsd_mouse_manager_idle_cb (GsdMouseManager *manager)
#ifdef HAVE_X11_EXTENSIONS_XINPUT_H
set_tap_to_click (g_settings_get_boolean (manager->priv->touchpad_settings, KEY_TAP_TO_CLICK),
gconf_client_get_bool (client, KEY_LEFT_HANDED, NULL));
- set_edge_scroll (g_settings_get_int (manager->priv->touchpad_settings, KEY_SCROLL_METHOD));
+ set_edge_scroll (g_settings_get_enum (manager->priv->touchpad_settings, KEY_SCROLL_METHOD));
set_horiz_scroll (g_settings_get_boolean (manager->priv->touchpad_settings, KEY_PAD_HORIZ_SCROLL));
set_touchpad_enabled (g_settings_get_boolean (manager->priv->touchpad_settings, KEY_TOUCHPAD_ENABLED));
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]