diff --git a/gui_util.c b/gui_util.c index c3adeb6..f22c009 100644 --- a/gui_util.c +++ b/gui_util.c @@ -358,6 +358,8 @@ void debug_save_pixbuf(GdkPixbuf *buf) * the widget being dumped. */ +#if GTK_CHECK_VERSION(2, 14, 0) + void debug_save_widget(GtkWidget *widget) { GdkPixmap *pixmap; @@ -373,6 +375,8 @@ void debug_save_widget(GtkWidget *widget) g_object_unref(pixbuf); } +#endif /* GTK_CHECK_VERSION(2, 14, 0) */ + /* ----- kill the content of a container ----------------------------------- */