[libgnomekbd] Update after the latest gtk+-3 break



commit 5caef9597d141367afbfbd54fbb3f94b6509c291
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Fri Dec 3 09:25:34 2010 +0000

    Update after the latest gtk+-3 break
    
    GdkDrawable is gone; everything should have already been migrated to
    GdkWindow.

 libgnomekbd/gkbd-keyboard-drawing.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgnomekbd/gkbd-keyboard-drawing.c b/libgnomekbd/gkbd-keyboard-drawing.c
index 01d8281..9afa7fa 100644
--- a/libgnomekbd/gkbd-keyboard-drawing.c
+++ b/libgnomekbd/gkbd-keyboard-drawing.c
@@ -1305,7 +1305,7 @@ create_cairo (GkbdKeyboardDrawing * drawing)
 	if (drawing == NULL || drawing->surface == NULL)
 		return FALSE;
 	drawing->renderContext->cr =
-	    gdk_cairo_create (GDK_DRAWABLE (drawing->surface));
+	    gdk_cairo_create (GDK_WINDOW (drawing->surface));
 
 	state = gtk_widget_get_state (GTK_WIDGET (drawing));
 	drawing->renderContext->dark_color =



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