diff options
Diffstat (limited to 'libview/ev-pixbuf-cache.c')
-rw-r--r-- | libview/ev-pixbuf-cache.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libview/ev-pixbuf-cache.c b/libview/ev-pixbuf-cache.c index 3b353c98..d6c75354 100644 --- a/libview/ev-pixbuf-cache.c +++ b/libview/ev-pixbuf-cache.c @@ -22,13 +22,13 @@ typedef struct _CacheJobInfo /* Device scale factor of target widget */ int device_scale; - /* Selection data. + /* Selection data. * Selection_points are the coordinates encapsulated in selection. * target_points is the target selection size. */ EvRectangle target_points; EvSelectionStyle selection_style; gboolean points_set; - + cairo_surface_t *selection; gdouble selection_scale; EvRectangle selection_points; @@ -227,7 +227,7 @@ ev_pixbuf_cache_new (GtkWidget *view, EvPixbufCache *pixbuf_cache; pixbuf_cache = (EvPixbufCache *) g_object_new (EV_TYPE_PIXBUF_CACHE, NULL); - /* This is a backlink, so we don't ref this */ + /* This is a backlink, so we don't ref this */ pixbuf_cache->view = view; pixbuf_cache->model = g_object_ref (model); pixbuf_cache->document = ev_document_model_get_document (model); @@ -685,7 +685,7 @@ add_job (EvPixbufCache *pixbuf_cache, GdkColor text, base; get_selection_colors (EV_VIEW (pixbuf_cache->view), &text, &base); - ev_job_render_set_selection_info (EV_JOB_RENDER (job_info->job), + ev_job_render_set_selection_info (EV_JOB_RENDER (job_info->job), &(job_info->target_points), job_info->selection_style, &text, &base); @@ -1153,7 +1153,7 @@ static void update_job_selection (CacheJobInfo *job_info, EvViewSelection *selection) { - job_info->points_set = TRUE; + job_info->points_set = TRUE; job_info->target_points = selection->rect; job_info->selection_style = selection->style; } @@ -1209,7 +1209,7 @@ ev_pixbuf_cache_set_selection_list (EvPixbufCache *pixbuf_cache, if (((EvViewSelection *)list->data)->page == page) { selection = list->data; break; - } else if (((EvViewSelection *)list->data)->page > page) + } else if (((EvViewSelection *)list->data)->page > page) break; list = list->next; } @@ -1228,7 +1228,7 @@ ev_pixbuf_cache_set_selection_list (EvPixbufCache *pixbuf_cache, if (((EvViewSelection *)list->data)->page == page) { selection = list->data; break; - } else if (((EvViewSelection *)list->data)->page > page) + } else if (((EvViewSelection *)list->data)->page > page) break; list = list->next; } @@ -1249,7 +1249,7 @@ ev_pixbuf_cache_set_selection_list (EvPixbufCache *pixbuf_cache, if (((EvViewSelection *)list->data)->page == page) { selection = list->data; break; - } else if (((EvViewSelection *)list->data)->page > page) + } else if (((EvViewSelection *)list->data)->page > page) break; list = list->next; } @@ -1294,7 +1294,7 @@ ev_pixbuf_cache_get_selection_list (EvPixbufCache *pixbuf_cache) selection->covered_region = cairo_region_reference (pixbuf_cache->prev_job[i].selection_region); retval = g_list_prepend (retval, selection); } - + page ++; } @@ -1308,7 +1308,7 @@ ev_pixbuf_cache_get_selection_list (EvPixbufCache *pixbuf_cache) selection->covered_region = cairo_region_reference (pixbuf_cache->job_list[i].selection_region); retval = g_list_prepend (retval, selection); } - + page ++; } @@ -1324,7 +1324,7 @@ ev_pixbuf_cache_get_selection_list (EvPixbufCache *pixbuf_cache) selection->covered_region = cairo_region_reference (pixbuf_cache->next_job[i].selection_region); retval = g_list_prepend (retval, selection); } - + page ++; } |