[gnome-games] sodoku: gi port, fix PangoCairo.show_layout



commit 6da9c3c1cb71ca40a752b8bec953846ef8b15939
Author: John Stowers <john stowers gmail com>
Date:   Sun May 1 11:43:12 2011 +1200

    sodoku: gi port, fix PangoCairo.show_layout

 gnome-sudoku/src/lib/number_box.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-sudoku/src/lib/number_box.py b/gnome-sudoku/src/lib/number_box.py
index bd73c0b..c482028 100644
--- a/gnome-sudoku/src/lib/number_box.py
+++ b/gnome-sudoku/src/lib/number_box.py
@@ -634,7 +634,7 @@ class NumberBox (Gtk.DrawingArea):
             cr.set_source_rgb(*self.shadow_color)
             for xoff, yoff in [(1,1),(2,2)]:
                 cr.move_to((BASE_SIZE/2)-(fontw/2) + xoff, (BASE_SIZE/2) - (fonth/2) + yoff)
-                cr.show_layout(self._layout)
+                PangoCairo.show_layout(cr, self._layout)
         if self.text_color:
             cr.set_source_rgb(*self.text_color)
         elif self.read_only:



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