diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-02-04 12:17:21 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-02-04 12:17:21 +0000 |
commit | f5fe60d8133ab3c7ca75fd80ed1c8d02d5e68e70 (patch) | |
tree | a342e89cc97bf08f9c40c3d23c98c557360ec5a3 /src/requests.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/requests.c')
-rw-r--r-- | src/requests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/requests.c b/src/requests.c index dbb543c..7448e96 100644 --- a/src/requests.c +++ b/src/requests.c @@ -125,7 +125,7 @@ JsonNode *torrent_get() return root; } -JsonNode *torrent_add_url(const gchar * url, gboolean paused) +JsonNode *torrent_add_url(const gchar * url, gboolean paused G_GNUC_UNUSED) { JsonNode *root = base_request(METHOD_TORRENT_ADD); JsonObject *args = node_get_arguments(root); @@ -133,7 +133,7 @@ JsonNode *torrent_add_url(const gchar * url, gboolean paused) return root; } -JsonNode *torrent_add(gchar * filename, gboolean paused) +JsonNode *torrent_add(gchar * filename, gboolean paused G_GNUC_UNUSED) { JsonNode *root = base_request(METHOD_TORRENT_ADD); JsonObject *args = node_get_arguments(root); |