summaryrefslogtreecommitdiff
path: root/mate-panel/panel-widget.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-04 20:32:45 +0300
committermonsta <[email protected]>2016-01-04 20:32:45 +0300
commit73f1dbc41f35cc3729d8ac8727e654e8e3e20ac5 (patch)
tree446de50937adcd1d5cb7f80e86954acb744f184d /mate-panel/panel-widget.c
parent98576d25e966aded1c3f67c41c146e15e4827ced (diff)
downloadmate-panel-73f1dbc41f35cc3729d8ac8727e654e8e3e20ac5.tar.bz2
mate-panel-73f1dbc41f35cc3729d8ac8727e654e8e3e20ac5.tar.xz
background: all functions should have PanelBackground as 1st argument
Diffstat (limited to 'mate-panel/panel-widget.c')
-rw-r--r--mate-panel/panel-widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel-widget.c b/mate-panel/panel-widget.c
index 0f59a79c..1930e797 100644
--- a/mate-panel/panel-widget.c
+++ b/mate-panel/panel-widget.c
@@ -1653,7 +1653,7 @@ panel_widget_style_set (GtkWidget *widget, GtkStyle *previous_style)
state = gtk_widget_get_state_flags (widget);
gtk_style_context_add_class(context,"gnome-panel-menu-bar");
gtk_style_context_add_class(context,"mate-panel-menu-bar");
- panel_background_apply_css (widget, &PANEL_WIDGET (widget)->background);
+ panel_background_apply_css (&PANEL_WIDGET (widget)->background, widget);
gtk_style_context_get_background_color (context, state, &bg_color);
gtk_style_context_get (context, state, "background-image", &bg_image, NULL);