summaryrefslogtreecommitdiff
path: root/src/torrent.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-01-31 21:20:46 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-01-31 21:20:46 +0000
commit21e72f02cac599537627922b745b23a8afc1da43 (patch)
tree0eebe1af60496593aea91145aecc3ff37c6b0881 /src/torrent.c
parent149f7da46f70139be490265aabcb9690c12cc2f5 (diff)
missing return at end of status icon function
Diffstat (limited to 'src/torrent.c')
-rw-r--r--src/torrent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/torrent.c b/src/torrent.c
index 07cbe9b..9cc4d10 100644
--- a/src/torrent.c
+++ b/src/torrent.c
@@ -177,7 +177,7 @@ gchar *torrent_get_status_icon(guint flags)
else if (flags & TORRENT_FLAG_CHECKING)
return g_strdup(GTK_STOCK_REFRESH);
else
- g_strdup(GTK_STOCK_DIALOG_QUESTION);
+ return g_strdup(GTK_STOCK_DIALOG_QUESTION);
}
const gchar *torrent_get_errorstr(JsonObject * t)