[pygobject/pygtk-compat: 8/10] PangoLayout: Add a default value for set_markup()



commit 39c7156b119aaaa44a119404587fd089120bef4d
Author: Johan Dahlin <johan gnome org>
Date:   Fri Mar 16 16:07:30 2012 -0300

    PangoLayout: Add a default value for set_markup()

 gi/overrides/Pango.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gi/overrides/Pango.py b/gi/overrides/Pango.py
index 51ad2f3..b8865f2 100644
--- a/gi/overrides/Pango.py
+++ b/gi/overrides/Pango.py
@@ -55,6 +55,9 @@ class Layout(Pango.Layout):
         # __new__ and it is not a PangoLayout property
         super(Layout, self).__init__(**kwds)
 
+    def set_markup(self, text, length=-1):
+        super(Layout, self).set_markup(text, length)
+
 Layout = override(Layout)
 __all__.append('Layout')
 



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