From 2beed0401df9f88847a0ef47d35a5bf25b1c2b73 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 14 Jul 2017 21:06:29 +0200 Subject: mouse: fix a build warning introduced by https://github.com/mate-desktop/mate-control-center/commit/ba301f8 --- capplets/mouse/mate-mouse-properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capplets/mouse/mate-mouse-properties.c') diff --git a/capplets/mouse/mate-mouse-properties.c b/capplets/mouse/mate-mouse-properties.c index d8ed1985..1ecb95e4 100644 --- a/capplets/mouse/mate-mouse-properties.c +++ b/capplets/mouse/mate-mouse-properties.c @@ -230,7 +230,7 @@ comboxbox_changed (GtkWidget *combobox, GtkBuilder *dialog, const char *key) /* Show warning if some multi-finger click emulation is enabled. */ value2 = g_settings_get_int (touchpad_settings, "two-finger-click"); value3 = g_settings_get_int (touchpad_settings, "three-finger-click"); - gtk_widget_set_opacity (warn, (value2 || value3)? 1.0: 0.0); + gtk_widget_set_opacity (GTK_WIDGET (warn), (value2 || value3)? 1.0: 0.0); } static void -- cgit v1.2.1