aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/gravatar.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-10-14 22:57:22 +0200
committerBoris Faure <billiob@gmail.com>2014-10-15 21:44:59 +0200
commitd4c2c2339414eb5bf843c386da69dd2b5bb1c64a (patch)
treea1c93bbb625884ea705def2196fb01e78d550076 /src/bin/gravatar.c
parentshow gravatar tooltips on emails (diff)
downloadterminology-d4c2c2339414eb5bf843c386da69dd2b5bb1c64a.tar.gz
reorganize config struct
Diffstat (limited to 'src/bin/gravatar.c')
-rw-r--r--src/bin/gravatar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/gravatar.c b/src/bin/gravatar.c
index 1ac8f0b..570b063 100644
--- a/src/bin/gravatar.c
+++ b/src/bin/gravatar.c
@@ -66,6 +66,9 @@ gravatar_tooltip(Evas_Object *obj, Config *config, char *email)
const char *url;
Gravatar *g;
+ if (!config->gravatar)
+ return;
+
g = calloc(sizeof(Gravatar), 1);
if (!g) return;
g->config = config;