summaryrefslogtreecommitdiff
path: root/src/include/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ui.h')
-rw-r--r--src/include/ui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/ui.h b/src/include/ui.h
index 70987d33..4705eda2 100644
--- a/src/include/ui.h
+++ b/src/include/ui.h
@@ -177,7 +177,9 @@ int meta_ui_get_drag_threshold (MetaUI *ui);
MetaUIDirection meta_ui_get_direction (void);
-#if !GTK_CHECK_VERSION (3, 0, 0)
+#if GTK_CHECK_VERSION (3, 0, 0)
+GdkPixbuf *meta_ui_get_pixbuf_from_surface (cairo_surface_t *surface);
+#else
GdkPixbuf *meta_ui_get_pixbuf_from_pixmap (Pixmap pmap);
#endif