summaryrefslogtreecommitdiff
path: root/libview/ev-pixbuf-cache.c
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-29 10:43:23 +0200
committerraveit65 <[email protected]>2019-07-01 17:07:40 +0200
commitaa24676651f8bd3e8b434f72d5aac98e84c0867d (patch)
tree37693766ecb4733c6061dcc2ddc26954fab5ca01 /libview/ev-pixbuf-cache.c
parent6741c5db1e5c48c01b25bb7900dc40d48552925d (diff)
downloadatril-aa24676651f8bd3e8b434f72d5aac98e84c0867d.tar.bz2
atril-aa24676651f8bd3e8b434f72d5aac98e84c0867d.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'libview/ev-pixbuf-cache.c')
-rw-r--r--libview/ev-pixbuf-cache.c22
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 ++;
}