[pygobject] Add a default detail value for Widget.render_icon



commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
Author: Johan Dahlin <jdahlin litl com>
Date:   Mon Jun 27 00:38:20 2011 -0300

    Add a default detail value for Widget.render_icon
    
    https://bugzilla.gnome.org/show_bug.cgi?id=653462

 gi/overrides/Gtk.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gi/overrides/Gtk.py b/gi/overrides/Gtk.py
index 84660eb..513b7ff 100644
--- a/gi/overrides/Gtk.py
+++ b/gi/overrides/Gtk.py
@@ -55,6 +55,9 @@ class Widget(Gtk.Widget):
         if success:
             return (dest_x, dest_y,)
 
+    def render_icon(self, stock_id, size, detail=None):
+        return super(Widget, self).render_icon(stock_id, size, detail)
+
 Widget = override(Widget)
 __all__.append('Widget')
 



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