summaryrefslogtreecommitdiff
path: root/eel/eel-debug-drawing.c
diff options
context:
space:
mode:
Diffstat (limited to 'eel/eel-debug-drawing.c')
-rw-r--r--eel/eel-debug-drawing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/eel/eel-debug-drawing.c b/eel/eel-debug-drawing.c
index 63706829..05675dff 100644
--- a/eel/eel-debug-drawing.c
+++ b/eel/eel-debug-drawing.c
@@ -207,6 +207,7 @@ debug_pixbuf_viewer_set_pixbuf (DebugPixbufViewer *viewer, GdkPixbuf *pixbuf)
*
* Draw a rectangle and cross. Useful for debugging exposure events.
*/
+#if !GTK_CHECK_VERSION (3, 0, 0)
void
eel_debug_draw_rectangle_and_cross (GdkDrawable *drawable,
EelIRect rectangle,
@@ -252,6 +253,7 @@ eel_debug_draw_rectangle_and_cross (GdkDrawable *drawable,
cairo_destroy (cr);
}
+#endif
/**
* eel_debug_show_pixbuf_in_external_viewer: