From 73f1dbc41f35cc3729d8ac8727e654e8e3e20ac5 Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 4 Jan 2016 20:32:45 +0300 Subject: background: all functions should have PanelBackground as 1st argument --- mate-panel/panel-background.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mate-panel/panel-background.c') 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); -- cgit v1.2.1