diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-19 21:36:42 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-19 21:36:42 +0100 |
commit | 3da42cef82ee714a2271849275dfeea3b03ed508 (patch) | |
tree | c998ccf81021603e037f6f20f872fd792adc95a8 /stickynotes/stickynotes_applet_callbacks.h | |
parent | bc342abd6a3f49a1b1eff3b9d7121841e29053e3 (diff) | |
download | mate-applets-3da42cef82ee714a2271849275dfeea3b03ed508.tar.bz2 mate-applets-3da42cef82ee714a2271849275dfeea3b03ed508.tar.xz |
stickynotes: Add GTK3 support
Diffstat (limited to 'stickynotes/stickynotes_applet_callbacks.h')
-rw-r--r-- | stickynotes/stickynotes_applet_callbacks.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stickynotes/stickynotes_applet_callbacks.h b/stickynotes/stickynotes_applet_callbacks.h index 287f366f..c743bb44 100644 --- a/stickynotes/stickynotes_applet_callbacks.h +++ b/stickynotes/stickynotes_applet_callbacks.h @@ -33,7 +33,11 @@ void applet_size_allocate_cb(GtkWidget *widget, GtkAllocation *allocation, Stick void applet_change_bg_cb (MatePanelApplet *mate_panel_applet, MatePanelAppletBackgroundType type, GdkColor *color, +#if GTK_CHECK_VERSION (3, 0, 0) + cairo_pattern_t *pattern, +#else GdkPixmap *pixmap, +#endif StickyNotesApplet *applet); void applet_destroy_cb (MatePanelApplet *mate_panel_applet, StickyNotesApplet *applet); /* Callbacks for sticky notes applet menu */ |