[hitori] Remove deprecated use of GdkDrawable
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hitori] Remove deprecated use of GdkDrawable
- Date: Thu, 30 Dec 2010 23:04:52 +0000 (UTC)
commit 69d6afa1dc8c3617e14570f1ccbe1f620e423cfa
Author: Philip Withnall <philip tecnocode co uk>
Date: Thu Dec 30 22:50:22 2010 +0000
Remove deprecated use of GdkDrawable
src/interface.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/interface.c b/src/interface.c
index 957da95..506936b 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -388,7 +388,7 @@ hitori_update_hint (Hitori *hitori)
cell_size = board_width / hitori->board_size;
/* Centre the board */
- cr = gdk_cairo_create (GDK_DRAWABLE (gtk_widget_get_window (hitori->drawing_area)));
+ cr = gdk_cairo_create (gtk_widget_get_window (hitori->drawing_area));
cairo_save (cr);
hitori->drawing_area_x_offset = (area_width - board_width) / 2;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]