summaryrefslogtreecommitdiff
path: root/eel/eel-gdk-pixbuf-extensions.h
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-12-26 20:20:19 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-13 15:05:41 +0100
commitb1b2cb896d0cbe4a210af4bf3b867cb89580c4c3 (patch)
tree302886089bfb5a989af894e3e80840b29dfec485 /eel/eel-gdk-pixbuf-extensions.h
parenta781d9bffc37f71f4eeb68641f34095d92820507 (diff)
downloadcaja-b1b2cb896d0cbe4a210af4bf3b867cb89580c4c3.tar.bz2
caja-b1b2cb896d0cbe4a210af4bf3b867cb89580c4c3.tar.xz
GTK3 eel-gdk-pixbuf: use GdkRGBA everywhere
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=020adaf
Diffstat (limited to 'eel/eel-gdk-pixbuf-extensions.h')
-rw-r--r--eel/eel-gdk-pixbuf-extensions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/eel/eel-gdk-pixbuf-extensions.h b/eel/eel-gdk-pixbuf-extensions.h
index 7d31defe..87f79a7a 100644
--- a/eel/eel-gdk-pixbuf-extensions.h
+++ b/eel/eel-gdk-pixbuf-extensions.h
@@ -151,6 +151,10 @@ GdkPixbuf * eel_gdk_pixbuf_render (GdkPixbuf *pixbuf
guint saturation,
guint brightness,
guint lighten_value,
+#if GTK_CHECK_VERSION(3,0,0)
+ GdkRGBA *color);
+#else
guint color);
+#endif
#endif /* EEL_GDK_PIXBUF_EXTENSIONS_H */