From 44c15cac8d362deb7a4febd16d9dc2288f4f54e7 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Tue, 28 Jan 2014 17:07:40 +0100 Subject: Fix some gcc warnings --- capplets/mouse/mate-mouse-properties.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'capplets/mouse') 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); -- cgit v1.2.1