diff options
Diffstat (limited to 'eel/eel-debug-drawing.c')
-rw-r--r-- | eel/eel-debug-drawing.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eel/eel-debug-drawing.c b/eel/eel-debug-drawing.c index b334f66f..eca229e0 100644 --- a/eel/eel-debug-drawing.c +++ b/eel/eel-debug-drawing.c @@ -54,6 +54,10 @@ #define DEBUG_IS_PIXBUF_VIEWER(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DEBUG_TYPE_PIXBUF_VIEWER)) +#if GTK_CHECK_VERSION (3, 0, 0) +#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y) +#endif + typedef struct DebugPixbufViewer DebugPixbufViewer; typedef struct DebugPixbufViewerClass DebugPixbufViewerClass; |