summaryrefslogtreecommitdiff
path: root/drivemount/drivemount.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivemount/drivemount.c')
-rw-r--r--drivemount/drivemount.c4
1 files changed, 4 insertions, 0 deletions
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) {