From 712eb5428e1b2aa2a9edfb3eb95375f0fca29ff5 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sat, 11 May 2013 13:06:25 +0200 Subject: GtkComboBoxText requires GTK+ 2.24, dump code for older versions --- src/fe-gtk/xtext.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/fe-gtk/xtext.c') diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c index e151524d..94db4687 100644 --- a/src/fe-gtk/xtext.c +++ b/src/fe-gtk/xtext.c @@ -1034,11 +1034,7 @@ gtk_xtext_realize (GtkWidget * widget) gdk_window_set_user_data (widget->window, widget); -#if GTK_CHECK_VERSION(2,24,0) xtext->depth = gdk_window_get_visual (widget->window)->depth; -#else - xtext->depth = gdk_drawable_get_visual (widget->window)->depth; -#endif val.subwindow_mode = GDK_INCLUDE_INFERIORS; val.graphics_exposures = 0; -- cgit 1.4.1