[gnome-games] soduku: gi porting
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] soduku: gi porting
- Date: Thu, 7 Apr 2011 14:22:02 +0000 (UTC)
commit 677d07a39a854627bd0cb6bceab47043208047ea
Author: John Stowers <john stowers gmail com>
Date: Fri Apr 8 02:21:22 2011 +1200
soduku: gi porting
This is a reminder I need to add an override for the
Gtk.Window constructor attributes
gnibbles/help/eu/figures/intro.png | Bin 107057 -> 118784 bytes
gnome-sudoku/src/lib/number_box.py | 4 ++--
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnibbles/help/eu/figures/intro.png b/gnibbles/help/eu/figures/intro.png
index 42e0b86..16814c2 100644
Binary files a/gnibbles/help/eu/figures/intro.png and b/gnibbles/help/eu/figures/intro.png differ
diff --git a/gnome-sudoku/src/lib/number_box.py b/gnome-sudoku/src/lib/number_box.py
index cf16bf8..6ebded8 100644
--- a/gnome-sudoku/src/lib/number_box.py
+++ b/gnome-sudoku/src/lib/number_box.py
@@ -522,8 +522,8 @@ class NumberBox (Gtk.Widget):
self.get_parent_window(),
width = self.allocation.width,
height = self.allocation.height,
- window_type = Gdk.WINDOW_CHILD,
- wclass = Gdk.INPUT_OUTPUT,
+ window_type = Gdk.WindowType.CHILD,
+ wclass = Gdk.WindowWindowClass.OUTPUT,
event_mask = self.get_events() | Gdk.EventMask.EXPOSURE_MASK)
# Associate the Gdk.Window with ourselves, Gtk+ needs a reference
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]