summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-02-09 11:40:46 +0100
committerWolfgang Ulbrich <[email protected]>2016-02-09 15:38:08 +0100
commit8e66d410cc4b2305eb2f72257dda23811b5d167f (patch)
tree3235b558c6780c9907636f8d8d96a8f1767c3928
parent2da7a89cc5f53a2805519ac500b1e800b1b75b11 (diff)
downloadmate-panel-8e66d410cc4b2305eb2f72257dda23811b5d167f.tar.bz2
mate-panel-8e66d410cc4b2305eb2f72257dda23811b5d167f.tar.xz
GTK+3 panel-toplevel: fix a build warning
-rw-r--r--mate-panel/panel-toplevel.c2
1 files changed, 1 insertions, 1 deletions
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