From f5fe60d8133ab3c7ca75fd80ed1c8d02d5e68e70 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Fri, 4 Feb 2011 12:17:21 +0000 Subject: 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) --- src/requests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/requests.c') 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); -- cgit v1.2.3