[grilo-plugins] bliptv: Pages start at 1
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] bliptv: Pages start at 1
- Date: Tue, 9 Jul 2013 13:16:25 +0000 (UTC)
commit 32b877af8ab3ee5585287c9bb4774e1b276bf349
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Tue Jul 9 10:12:08 2013 +0000
bliptv: Pages start at 1
Page number already starts at 1 when invoking grl_paging_translate(), so no
need to increase it (else, it would start at 2).
src/bliptv/grl-bliptv.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/bliptv/grl-bliptv.c b/src/bliptv/grl-bliptv.c
index 543378b..5042f2b 100644
--- a/src/bliptv/grl-bliptv.c
+++ b/src/bliptv/grl-bliptv.c
@@ -443,7 +443,7 @@ grl_bliptv_source_browse (GrlSource *source,
grl_operation_set_data (bs->operation_id, op);
- url = g_strdup_printf (BLIPTV_BROWSE, page_number + 1);
+ url = g_strdup_printf (BLIPTV_BROWSE, page_number);
GRL_DEBUG ("Starting browse request for id=%u", bs->operation_id);
@@ -483,7 +483,7 @@ grl_bliptv_source_search (GrlSource *source,
grl_operation_set_data (ss->operation_id, op);
- url = g_strdup_printf (BLIPTV_SEARCH, page_number + 1, ss->text);
+ url = g_strdup_printf (BLIPTV_SEARCH, page_number, ss->text);
GRL_DEBUG ("Starting search request for id=%u : '%s'",
ss->operation_id, ss->text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]