[gitg] Do not use robohash fallback
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Do not use robohash fallback
- Date: Tue, 1 Jul 2014 09:09:17 +0000 (UTC)
commit 1f9a171c7683028ca014fe827fb4fd5345a2d948
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Tue Jul 1 11:09:04 2014 +0200
Do not use robohash fallback
libgitg/gitg-avatar-cache.vala | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/libgitg/gitg-avatar-cache.vala b/libgitg/gitg-avatar-cache.vala
index 7a71d5d..b8a349b 100644
--- a/libgitg/gitg-avatar-cache.vala
+++ b/libgitg/gitg-avatar-cache.vala
@@ -56,14 +56,6 @@ public class Gitg.AvatarCache : Object
var pixbuf = yield read_avatar_from_file(id, gfile, cancellable);
- if (pixbuf == null && (cancellable == null || !cancellable.is_cancelled()))
- {
- gravatar = @"http://robohash.org/$(id).png?size=50x50";
- gfile = File.new_for_uri(gravatar);
-
- pixbuf = yield read_avatar_from_file(id, gfile, cancellable);
- }
-
d_cache[id] = pixbuf;
return pixbuf;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]