From 8e19630353062fcc458df29ea9767d703cfbbad7 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 23 Jan 2014 10:02:18 +0100 Subject: libmate-panel-applet: Fix missing include and wrong declaration --- libmate-panel-applet/mate-panel-applet.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmate-panel-applet/mate-panel-applet.h b/libmate-panel-applet/mate-panel-applet.h index f78ac4ab..a5f91be2 100644 --- a/libmate-panel-applet/mate-panel-applet.h +++ b/libmate-panel-applet/mate-panel-applet.h @@ -28,6 +28,7 @@ #include #include #if GTK_CHECK_VERSION (3, 0, 0) +#include #include #include #endif @@ -83,7 +84,7 @@ struct _MatePanelAppletClass { void (*change_size) (MatePanelApplet* applet, guint size); #if GTK_CHECK_VERSION (3, 0, 0) - void (*change_background) (MatePanelApplet *applet, cairo_pattern_t *pattern); + void (*change_background) (MatePanelApplet *applet, MatePanelAppletBackgroundType type, GdkColor* color, cairo_pattern_t *pattern); #else void (*change_background) (MatePanelApplet* applet, MatePanelAppletBackgroundType type, GdkColor* color, GdkPixmap* pixmap); #endif -- cgit v1.2.1