From 8e66d410cc4b2305eb2f72257dda23811b5d167f Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Tue, 9 Feb 2016 11:40:46 +0100 Subject: GTK+3 panel-toplevel: fix a build warning --- mate-panel/panel-toplevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mate-panel') diff --git a/mate-panel/panel-toplevel.c b/mate-panel/panel-toplevel.c index 680ae42b..18c28315 100644 --- a/mate-panel/panel-toplevel.c +++ b/mate-panel/panel-toplevel.c @@ -5005,7 +5005,7 @@ panel_toplevel_init (PanelToplevel *toplevel) /*ensure the panel BG can always be themed*/ /*Without this gtk3.19/20 cannot set the BG color and resetting the bg to system is not immediately applied*/ GtkStyleContext *context; - context = gtk_widget_get_style_context (toplevel); + context = gtk_widget_get_style_context (GTK_WIDGET (toplevel)); gtk_style_context_add_class(context,"gnome-panel-menu-bar"); gtk_style_context_add_class(context,"mate-panel-menu-bar"); #endif -- cgit v1.2.1