summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-07-14 21:06:29 +0200
committerraveit65 <[email protected]>2017-07-14 23:30:27 +0200
commit2beed0401df9f88847a0ef47d35a5bf25b1c2b73 (patch)
treee35fca2150447837d5c8b05f3776ce84551fb63d /capplets
parentba301f8dd803bbcb6d2923e54e4bc465931babbb (diff)
downloadmate-control-center-2beed0401df9f88847a0ef47d35a5bf25b1c2b73.tar.bz2
mate-control-center-2beed0401df9f88847a0ef47d35a5bf25b1c2b73.tar.xz
mouse: fix a build warning
introduced by https://github.com/mate-desktop/mate-control-center/commit/ba301f8
Diffstat (limited to 'capplets')
-rw-r--r--capplets/mouse/mate-mouse-properties.c2
1 files changed, 1 insertions, 1 deletions
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