From 54ee14903b6be413e9b5ec7957b6b4d5a1d3ab8c Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 14 Aug 2011 23:39:03 +0200 Subject: first attempt at switching to OBS, compiles, but doesn't run yet --- src/fe-gtk/xtext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-gtk') 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; -- cgit 1.4.1