summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-08-14 23:39:03 +0200
committerBerke Viktor <berkeviktor@aol.com>2011-08-14 23:39:03 +0200
commit54ee14903b6be413e9b5ec7957b6b4d5a1d3ab8c (patch)
tree173ce660b12442e33d34a661770e74d9f689c3ff /src/fe-gtk
parent75cef456709c0f6b143fb00d78b41e65a01ff5d6 (diff)
first attempt at switching to OBS, compiles, but doesn't run yet
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/xtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c
index 47d7e3ee..d797e5ff 100644
--- a/src/fe-gtk/xtext.c
+++ b/src/fe-gtk/xtext.c
@@ -999,7 +999,7 @@ gtk_xtext_realize (GtkWidget * widget)
 
 	gdk_window_set_user_data (widget->window, widget);
 
-	xtext->depth = gdk_drawable_get_visual (widget->window)->depth;
+	xtext->depth = gdk_window_get_visual (widget->window)->depth;
 
 	val.subwindow_mode = GDK_INCLUDE_INFERIORS;
 	val.graphics_exposures = 0;