[grilo-plugins] tmdb: Keep the values in the same order as in the TMDb webpage



commit 424d734ebb0d97b00a80875ad4406dc541e97879
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Sat Jan 5 19:43:17 2013 +0100

    tmdb: Keep the values in the same order as in the TMDb webpage
    
    Right now the values are shown in reverse order, so let's reverse the
    list to show them in the same order as it can be seen in the TMDb
    webpage.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691196

 src/tmdb/grl-tmdb-request.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tmdb/grl-tmdb-request.c b/src/tmdb/grl-tmdb-request.c
index cca940e..598d38d 100644
--- a/src/tmdb/grl-tmdb-request.c
+++ b/src/tmdb/grl-tmdb-request.c
@@ -618,7 +618,7 @@ grl_tmdb_request_get_string_list_with_filter (GrlTmdbRequest *self,
 
   get_list_with_filter (self, path, &closure);
 
-  return closure.list;
+  return g_list_reverse (closure.list);
 }
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]