[Sugar-devel] [PATCH sugar-toolkit] remove obsolete comment

Sascha Silbe silbe at activitycentral.com
Mon Apr 11 14:02:24 EDT 2011


GTK bug #502871 [1] has been fixed in 2007.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=502871

Signed-off-by: Sascha Silbe <silbe at activitycentral.com>
---
 src/sugar/graphics/icon.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/sugar/graphics/icon.py b/src/sugar/graphics/icon.py
index 870c49e..83a80d9 100644
--- a/src/sugar/graphics/icon.py
+++ b/src/sugar/graphics/icon.py
@@ -241,10 +241,6 @@ class _IconBuffer(object):
         icon_source.set_direction_wildcarded(False)
         icon_source.set_size_wildcarded(False)
 
-        # Please note that the pixbuf returned by this function is leaked
-        # with current stable versions of pygtk. The relevant bug is
-        # http://bugzilla.gnome.org/show_bug.cgi?id=502871
-        #   -- 2007-12-14 Benjamin Berg
         pixbuf = widget.style.render_icon(icon_source, widget.get_direction(),
                                           gtk.STATE_INSENSITIVE, -1, widget,
                                           'sugar-icon')
-- 
1.7.4.1



More information about the Sugar-devel mailing list