[libgda/gtk3] Don't use GDK_DRAWABLE



commit 7108f393187bc43d80d59420e29101b54cd41c42
Author: Vivien Malerba <malerba gnome-db org>
Date:   Mon Dec 6 21:27:27 2010 +0100

    Don't use GDK_DRAWABLE

 tools/browser/query-exec/query-editor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/browser/query-exec/query-editor.c b/tools/browser/query-exec/query-editor.c
index 72edb7d..6e369dc 100644
--- a/tools/browser/query-exec/query-editor.c
+++ b/tools/browser/query-exec/query-editor.c
@@ -648,7 +648,7 @@ text_view_expose_event (GtkTextView *tv, GdkEventExpose *event, QueryEditor *edi
 	redraw_rect.width = visible_rect.width;
 	redraw_rect.height = visible_rect.height;
 	
-	cairo_t *cr = gdk_cairo_create (GDK_DRAWABLE (win));
+	cairo_t *cr = gdk_cairo_create (win);
 	GdkRectangle rect;
 	margin = gtk_text_view_get_left_margin (tv);
 	rect.x = redraw_rect.x + MAX (0, margin - 1);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]