[libgnomekbd] Update after the latest gtk+-3 break
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnomekbd] Update after the latest gtk+-3 break
- Date: Fri, 3 Dec 2010 09:27:26 +0000 (UTC)
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]