summaryrefslogtreecommitdiff
path: root/drivemount/drivemount.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-19 20:39:10 +0100
committerStefano Karapetsas <[email protected]>2014-01-19 20:39:10 +0100
commit406473f25e5282340bfc1a0057561f1f3922b08a (patch)
treec01eee312a5ffd73bbf1015e59ca4b0653a1f67a /drivemount/drivemount.c
parentc2ef8063f9353b4e9fa315a35ce47f7bc7fefe53 (diff)
downloadmate-applets-406473f25e5282340bfc1a0057561f1f3922b08a.tar.bz2
mate-applets-406473f25e5282340bfc1a0057561f1f3922b08a.tar.xz
drivemount: Add GTK3 support
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) {