summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/mate-panel-applet.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-23 10:02:18 +0100
committerStefano Karapetsas <[email protected]>2014-01-23 10:02:18 +0100
commit8e19630353062fcc458df29ea9767d703cfbbad7 (patch)
treea1ce1b53785146f3137778ba03593d5f4e60124c /libmate-panel-applet/mate-panel-applet.h
parent3ffbaa0104c762931e50e33a8ab877384f46127f (diff)
downloadmate-panel-8e19630353062fcc458df29ea9767d703cfbbad7.tar.bz2
mate-panel-8e19630353062fcc458df29ea9767d703cfbbad7.tar.xz
libmate-panel-applet: Fix missing include and wrong declaration
Diffstat (limited to 'libmate-panel-applet/mate-panel-applet.h')
-rw-r--r--libmate-panel-applet/mate-panel-applet.h3
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