summaryrefslogtreecommitdiff
path: root/capplets/mouse
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-28 17:07:40 +0100
committerStefano Karapetsas <[email protected]>2014-01-28 17:07:40 +0100
commit44c15cac8d362deb7a4febd16d9dc2288f4f54e7 (patch)
tree599aedd002c465d4b0f4f1601332e999c5bbdb59 /capplets/mouse
parent2df56b620bc0b98adad27688985be31d5c830242 (diff)
downloadmate-control-center-44c15cac8d362deb7a4febd16d9dc2288f4f54e7.tar.bz2
mate-control-center-44c15cac8d362deb7a4febd16d9dc2288f4f54e7.tar.xz
Fix some gcc warnings
Diffstat (limited to 'capplets/mouse')
-rw-r--r--capplets/mouse/mate-mouse-properties.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/capplets/mouse/mate-mouse-properties.c b/capplets/mouse/mate-mouse-properties.c
index cf5c9deb..38e17530 100644
--- a/capplets/mouse/mate-mouse-properties.c
+++ b/capplets/mouse/mate-mouse-properties.c
@@ -208,11 +208,11 @@ scrollmethod_gsettings_changed_event (GSettings *settings,
GtkBuilder *dialog)
{
int scroll_method = g_settings_get_int (touchpad_settings, "scroll-method");
- gtk_toggle_button_set_active (WID ("scroll_disabled_radio"),
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("scroll_disabled_radio")),
scroll_method == 0);
- gtk_toggle_button_set_active (WID ("scroll_edge_radio"),
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("scroll_edge_radio")),
scroll_method == 1);
- gtk_toggle_button_set_active (WID ("scroll_twofinger_radio"),
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("scroll_twofinger_radio")),
scroll_method == 2);
gtk_widget_set_sensitive (WID ("horiz_scroll_toggle"),
scroll_method != 0);