missed commit

This commit is contained in:
Jody Goldberg 2002-07-17 03:17:54 +00:00
parent b6e858deb7
commit 76214e33c0

View file

@ -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 */