From 406473f25e5282340bfc1a0057561f1f3922b08a Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Sun, 19 Jan 2014 20:39:10 +0100 Subject: drivemount: Add GTK3 support --- drivemount/drivemount.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivemount/drivemount.c') diff --git a/drivemount/drivemount.c b/drivemount/drivemount.c index 4d8e217b..04d7d06f 100644 --- a/drivemount/drivemount.c +++ b/drivemount/drivemount.c @@ -79,7 +79,11 @@ static void change_background (MatePanelApplet *applet, MatePanelAppletBackgroundType type, GdkColor *colour, +#if GTK_CHECK_VERSION (3, 0, 0) + cairo_pattern_t *pattern, +#else GdkPixmap *pixmap, +#endif DriveList *drivelist) { switch (type) { -- cgit v1.2.1