From 76214e33c0707a52b938faf967ee68e9d9ee3ac4 Mon Sep 17 00:00:00 2001 From: Jody Goldberg Date: Wed, 17 Jul 2002 03:17:54 +0000 Subject: [PATCH] missed commit --- capplets/mouse/gnome-mouse-properties.c | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/capplets/mouse/gnome-mouse-properties.c b/capplets/mouse/gnome-mouse-properties.c index 8d11a81f8..b065326be 100644 --- a/capplets/mouse/gnome-mouse-properties.c +++ b/capplets/mouse/gnome-mouse-properties.c @@ -228,13 +228,6 @@ threshold_from_gconf (GConfPropertyEditor *peditor, return new_value; } -static GConfValue * -threshold_to_gconf (GConfPropertyEditor *peditor, - const GConfValue *value) -{ - return gconf_value_float_to_int (value); -} - static GConfValue * drag_threshold_from_gconf (GConfPropertyEditor *peditor, const GConfValue *value) @@ -248,13 +241,6 @@ drag_threshold_from_gconf (GConfPropertyEditor *peditor, return new_value; } -static GConfValue * -drag_threshold_to_gconf (GConfPropertyEditor *peditor, - const GConfValue *value) -{ - return gconf_value_float_to_int (value); -} - /* Retrieve legacy settings */ static void @@ -686,14 +672,14 @@ setup_dialog (GladeXML *dialog, GConfChangeSet *changeset) gconf_peditor_new_numeric_range (changeset, "/desktop/gnome/peripherals/mouse/motion_threshold", WID ("sensitivity_scale"), "conv-to-widget-cb", threshold_from_gconf, - "conv-from-widget-cb", threshold_to_gconf, + "conv-from-widget-cb", gconf_value_float_to_int, NULL); /* DnD threshold */ gconf_peditor_new_numeric_range (changeset, "/desktop/gnome/peripherals/mouse/drag_threshold", WID ("drag_threshold_scale"), "conv-to-widget-cb", drag_threshold_from_gconf, - "conv-from-widget-cb", drag_threshold_to_gconf, + "conv-from-widget-cb", gconf_value_float_to_int, NULL); /* listen to cursors changing */