diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-23 10:02:18 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-23 10:02:18 +0100 |
commit | 8e19630353062fcc458df29ea9767d703cfbbad7 (patch) | |
tree | a1ce1b53785146f3137778ba03593d5f4e60124c /libmate-panel-applet | |
parent | 3ffbaa0104c762931e50e33a8ab877384f46127f (diff) | |
download | mate-panel-8e19630353062fcc458df29ea9767d703cfbbad7.tar.bz2 mate-panel-8e19630353062fcc458df29ea9767d703cfbbad7.tar.xz |
libmate-panel-applet: Fix missing include and wrong declaration
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <glib.h> #include <gtk/gtk.h> #if GTK_CHECK_VERSION (3, 0, 0) +#include <gdk/gdk.h> #include <cairo.h> #include <cairo-gobject.h> #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 |