Commit 5623dfba authored by Philipp Hörist's avatar Philipp Hörist

Avatar: Remove unused method

parent ea251998
......@@ -284,12 +284,6 @@ def get_avatar_path(filename):
return None
return path
def pixbuf_from_filename(self, filename):
path = self.get_avatar_path(filename)
if path is None:
return None
return load_pixbuf(path)
def surface_from_filename(self, filename, size, scale):
size = size * scale
path = self.get_avatar_path(filename)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment