diff options
author | monsta <[email protected]> | 2016-01-04 20:32:45 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-04 20:32:45 +0300 |
commit | 73f1dbc41f35cc3729d8ac8727e654e8e3e20ac5 (patch) | |
tree | 446de50937adcd1d5cb7f80e86954acb744f184d /mate-panel/panel-background.c | |
parent | 98576d25e966aded1c3f67c41c146e15e4827ced (diff) | |
download | mate-panel-73f1dbc41f35cc3729d8ac8727e654e8e3e20ac5.tar.bz2 mate-panel-73f1dbc41f35cc3729d8ac8727e654e8e3e20ac5.tar.xz |
background: all functions should have PanelBackground as 1st argument
Diffstat (limited to 'mate-panel/panel-background.c')
-rw-r--r-- | mate-panel/panel-background.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c index 4a899f4a..1974dbc4 100644 --- a/mate-panel/panel-background.c +++ b/mate-panel/panel-background.c @@ -96,7 +96,7 @@ set_pixbuf_background (PanelBackground *background) } #if GTK_CHECK_VERSION (3, 0, 0) -void panel_background_apply_css (GtkWidget* widget, PanelBackground *background) +void panel_background_apply_css (PanelBackground *background, GtkWidget *widget) { GtkStyleContext *context; PanelBackgroundType effective_type; @@ -238,7 +238,7 @@ panel_background_prepare (PanelBackground *background) if (GTK_IS_WIDGET (widget)) { #if GTK_CHECK_VERSION (3, 0, 0) - panel_background_apply_css (gtk_widget_get_toplevel(widget), background); + panel_background_apply_css (background, gtk_widget_get_toplevel(widget)); #endif gtk_widget_set_app_paintable(widget,TRUE); gtk_widget_queue_draw (widget); |