diff options
Diffstat (limited to 'libview/ev-pixbuf-cache.c')
-rw-r--r-- | libview/ev-pixbuf-cache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libview/ev-pixbuf-cache.c b/libview/ev-pixbuf-cache.c index 89225d08..875bdb71 100644 --- a/libview/ev-pixbuf-cache.c +++ b/libview/ev-pixbuf-cache.c @@ -1236,7 +1236,7 @@ ev_pixbuf_cache_get_selection_list (EvPixbufCache *pixbuf_cache) selection->rect = pixbuf_cache->prev_job[i].selection_points; if (pixbuf_cache->prev_job[i].selection_region) selection->covered_region = cairo_region_reference (pixbuf_cache->prev_job[i].selection_region); - retval = g_list_append (retval, selection); + retval = g_list_prepend (retval, selection); } page ++; @@ -1250,7 +1250,7 @@ ev_pixbuf_cache_get_selection_list (EvPixbufCache *pixbuf_cache) selection->rect = pixbuf_cache->job_list[i].selection_points; if (pixbuf_cache->job_list[i].selection_region) selection->covered_region = cairo_region_reference (pixbuf_cache->job_list[i].selection_region); - retval = g_list_append (retval, selection); + retval = g_list_prepend (retval, selection); } page ++; @@ -1266,13 +1266,13 @@ ev_pixbuf_cache_get_selection_list (EvPixbufCache *pixbuf_cache) selection->rect = pixbuf_cache->next_job[i].selection_points; if (pixbuf_cache->next_job[i].selection_region) selection->covered_region = cairo_region_reference (pixbuf_cache->next_job[i].selection_region); - retval = g_list_append (retval, selection); + retval = g_list_prepend (retval, selection); } page ++; } - return retval; + return g_list_reverse (retval); } void |