diff options
author | 2011-02-04 12:17:21 +0000 | |
---|---|---|
committer | 2011-02-04 12:17:21 +0000 | |
commit | f5fe60d8133ab3c7ca75fd80ed1c8d02d5e68e70 (patch) | |
tree | a342e89cc97bf08f9c40c3d23c98c557360ec5a3 /src/torrent.c | |
parent | 1d6a5969e35e312c598a7357830506c52d54c4b8 (diff) |
big thanks to charles for the feedback and patches! fixes for building against older libnotify (issue 1+4), use AM_SILENT_RULES (6), compiler warning fixes (5), use GDK_Delete instead of GDK_KEY_Delete (3)
Diffstat (limited to 'src/torrent.c')
-rw-r--r-- | src/torrent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/torrent.c b/src/torrent.c index 9cc4d10..e004e4c 100644 --- a/src/torrent.c +++ b/src/torrent.c @@ -152,7 +152,7 @@ gboolean torrent_get_is_finished(JsonObject * t) gdouble torrent_get_percent_done(JsonObject * t) { JsonNode *percentDone = json_object_get_member(t, FIELD_PERCENTDONE); - GValue a = { 0 }; + GValue a; json_node_get_value(percentDone, &a); switch (G_VALUE_TYPE(&a)) { case G_TYPE_INT64: |