[gnome-games/gnome-3-0] soduku: gi porting



commit 9ead5a0508092daea7b4b7dc91197eb2bf47c5f1
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]