aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-07-22 17:13:10 +0800
committerMilan Crha <mcrha@redhat.com>2010-07-22 17:13:10 +0800
commit410b996d54ee4787289760aec2329e24804d1061 (patch)
tree1bf3b2f6a84ecdc9137f6f76e53fa262fa065ddf /e-util
parent3e12c61e4cc3bd04b4c1a07358fd72530836e526 (diff)
downloadgsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar
gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.gz
gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.bz2
gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.lz
gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.xz
gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.zst
gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.zip
Bug #624891 - Various compiler warnings in git/master
Diffstat (limited to 'e-util')
-rw-r--r--e-util/gtk-compat.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/e-util/gtk-compat.h b/e-util/gtk-compat.h
index b01b8c5e19..3e531b2b1f 100644
--- a/e-util/gtk-compat.h
+++ b/e-util/gtk-compat.h
@@ -27,12 +27,10 @@
#if GTK_CHECK_VERSION (2,90,5)
/* Recreate GdkRegion until we drop GTK2 compatibility. */
-
-typedef enum {
- GDK_OVERLAP_RECTANGLE_IN,
- GDK_OVERLAP_RECTANGLE_OUT,
- GDK_OVERLAP_RECTANGLE_PART
-} GdkOverlapType;
+#define GdkOverlapType cairo_region_overlap_t
+#define GDK_OVERLAP_RECTANGLE_IN CAIRO_REGION_OVERLAP_IN
+#define GDK_OVERLAP_RECTANGLE_OUT CAIRO_REGION_OVERLAP_OUT
+#define GDK_OVERLAP_RECTANGLE_PART CAIRO_REGION_OVERLAP_PART
#define GdkRegion cairo_region_t