Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/graphics/icon.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar/graphics/icon.py')
-rw-r--r--src/sugar/graphics/icon.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/sugar/graphics/icon.py b/src/sugar/graphics/icon.py
index 01209f7..406762a 100644
--- a/src/sugar/graphics/icon.py
+++ b/src/sugar/graphics/icon.py
@@ -388,17 +388,6 @@ class Icon(gtk.Image):
else:
requisition[0] = requisition[1] = 0
- def get_render_size(self):
- """
- Get the dimensions that the icon is rendered at.
- """
- self._sync_image_properties()
- surface = self._buffer.get_surface()
- if surface:
- return surface.get_width(), surface.get_height()
- else:
- return None
-
def do_expose_event(self, event):
"""
Parameters