summaryrefslogtreecommitdiff
path: root/libdocument
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument')
-rw-r--r--libdocument/ev-attachment.c32
-rw-r--r--libdocument/ev-attachment.h2
-rw-r--r--libdocument/ev-backends-manager.c14
-rw-r--r--libdocument/ev-debug.c16
-rw-r--r--libdocument/ev-debug.h8
-rw-r--r--libdocument/ev-document-factory.c32
-rw-r--r--libdocument/ev-document-factory.h2
-rw-r--r--libdocument/ev-document-find.c2
-rw-r--r--libdocument/ev-document-fonts.c2
-rw-r--r--libdocument/ev-document-fonts.h2
-rw-r--r--libdocument/ev-document-forms.c32
-rw-r--r--libdocument/ev-document-forms.h2
-rw-r--r--libdocument/ev-document-images.c2
-rw-r--r--libdocument/ev-document-images.h2
-rw-r--r--libdocument/ev-document-layers.c2
-rw-r--r--libdocument/ev-document-layers.h2
-rw-r--r--libdocument/ev-document-links.c2
-rw-r--r--libdocument/ev-document-links.h2
-rw-r--r--libdocument/ev-document-misc.c8
-rw-r--r--libdocument/ev-document-security.c2
-rw-r--r--libdocument/ev-document-security.h2
-rw-r--r--libdocument/ev-document-thumbnails.h6
-rw-r--r--libdocument/ev-document-transition.c2
-rw-r--r--libdocument/ev-document-transition.h2
-rw-r--r--libdocument/ev-document.c22
-rw-r--r--libdocument/ev-document.h2
-rw-r--r--libdocument/ev-file-exporter.c2
-rw-r--r--libdocument/ev-file-helpers.c28
-rw-r--r--libdocument/ev-form-field.c4
-rw-r--r--libdocument/ev-form-field.h14
-rw-r--r--libdocument/ev-image.c4
-rw-r--r--libdocument/ev-image.h2
-rw-r--r--libdocument/ev-layer.h2
-rw-r--r--libdocument/ev-link-dest.c10
-rw-r--r--libdocument/ev-link-dest.h2
-rw-r--r--libdocument/ev-link.c8
-rw-r--r--libdocument/ev-module.c16
-rw-r--r--libdocument/ev-module.h14
-rw-r--r--libdocument/ev-page.c2
-rw-r--r--libdocument/ev-page.h2
-rw-r--r--libdocument/ev-render-context.h2
-rw-r--r--libdocument/ev-selection.c4
42 files changed, 160 insertions, 160 deletions
diff --git a/libdocument/ev-attachment.c b/libdocument/ev-attachment.c
index ec8bd35a..bf7aede5 100644
--- a/libdocument/ev-attachment.c
+++ b/libdocument/ev-attachment.c
@@ -57,11 +57,11 @@ GQuark
ev_attachment_error_quark (void)
{
static GQuark error_quark = 0;
-
+
if (error_quark == 0)
error_quark =
g_quark_from_static_string ("ev-attachment-error-quark");
-
+
return error_quark;
}
@@ -174,7 +174,7 @@ ev_attachment_class_init (EvAttachmentClass *klass)
g_object_class_install_property (g_object_class,
PROP_MTIME,
g_param_spec_ulong ("mtime",
- "ModifiedTime",
+ "ModifiedTime",
"The attachment modification date",
0, G_MAXULONG, 0,
G_PARAM_WRITABLE |
@@ -202,7 +202,7 @@ ev_attachment_class_init (EvAttachmentClass *klass)
"The attachment data",
G_PARAM_WRITABLE |
G_PARAM_CONSTRUCT_ONLY));
-
+
g_object_class->finalize = ev_attachment_finalize;
}
@@ -296,28 +296,28 @@ ev_attachment_save (EvAttachment *attachment,
output_stream = g_file_replace (file, NULL, FALSE, 0, NULL, &ioerror);
if (output_stream == NULL) {
char *uri;
-
+
uri = g_file_get_uri (file);
g_set_error (error,
- EV_ATTACHMENT_ERROR,
+ EV_ATTACHMENT_ERROR,
ioerror->code,
_("Couldn't save attachment “%s”: %s"),
- uri,
+ uri,
ioerror->message);
g_error_free (ioerror);
g_free (uri);
-
+
return FALSE;
}
-
+
written_bytes = g_output_stream_write (G_OUTPUT_STREAM (output_stream),
attachment->priv->data,
attachment->priv->size,
NULL, &ioerror);
if (written_bytes == -1) {
char *uri;
-
+
uri = g_file_get_uri (file);
g_set_error (error,
EV_ATTACHMENT_ERROR,
@@ -325,7 +325,7 @@ ev_attachment_save (EvAttachment *attachment,
_("Couldn't save attachment “%s”: %s"),
uri,
ioerror->message);
-
+
g_output_stream_close (G_OUTPUT_STREAM (output_stream), NULL, NULL);
g_error_free (ioerror);
g_free (uri);
@@ -336,7 +336,7 @@ ev_attachment_save (EvAttachment *attachment,
g_output_stream_close (G_OUTPUT_STREAM (output_stream), NULL, NULL);
return TRUE;
-
+
}
static gboolean
@@ -376,12 +376,12 @@ ev_attachment_launch_app (EvAttachment *attachment,
g_list_free (files);
g_error_free (ioerror);
-
+
return FALSE;
}
g_list_free (files);
-
+
return TRUE;
}
@@ -395,7 +395,7 @@ ev_attachment_open (EvAttachment *attachment,
gboolean retval = FALSE;
g_return_val_if_fail (EV_IS_ATTACHMENT (attachment), FALSE);
-
+
if (!attachment->priv->app) {
app_info = g_app_info_get_default_for_type (attachment->priv->mime_type, FALSE);
attachment->priv->app = app_info;
@@ -407,7 +407,7 @@ ev_attachment_open (EvAttachment *attachment,
0,
_("Couldn't open attachment “%s”"),
attachment->priv->name);
-
+
return FALSE;
}
diff --git a/libdocument/ev-attachment.h b/libdocument/ev-attachment.h
index 65a255ff..17999437 100644
--- a/libdocument/ev-attachment.h
+++ b/libdocument/ev-attachment.h
@@ -44,7 +44,7 @@ typedef struct _EvAttachmentPrivate EvAttachmentPrivate;
struct _EvAttachment {
GObject base_instance;
-
+
EvAttachmentPrivate *priv;
};
diff --git a/libdocument/ev-backends-manager.c b/libdocument/ev-backends-manager.c
index 53a60282..a690675b 100644
--- a/libdocument/ev-backends-manager.c
+++ b/libdocument/ev-backends-manager.c
@@ -100,7 +100,7 @@ ev_backends_manager_load_backend (const gchar *file)
info->resident = g_key_file_get_boolean (backend_file, EV_BACKENDS_GROUP,
"Resident", NULL);
-
+
info->type_desc = g_key_file_get_locale_string (backend_file, EV_BACKENDS_GROUP,
"TypeDescription", NULL, NULL);
if (!info->type_desc) {
@@ -146,7 +146,7 @@ ev_backends_manager_load (void)
while ((dirent = g_dir_read_name (dir))) {
EvBackendInfo *info;
gchar *file;
-
+
if (!g_str_has_suffix (dirent, EV_BACKENDS_EXTENSION))
continue;
@@ -156,7 +156,7 @@ ev_backends_manager_load (void)
if (!info)
continue;
-
+
ev_backends_list = g_list_prepend (ev_backends_list, info);
}
@@ -205,9 +205,9 @@ ev_backends_manager_get_backend_info (const gchar *mime_type)
EvBackendInfo *info;
gint i = 0;
const char *mime;
-
+
info = (EvBackendInfo *)l->data;
-
+
while ((mime = info->mime_types[i++])) {
if (g_ascii_strcasecmp (mime, mime_type) == 0)
return info;
@@ -229,12 +229,12 @@ ev_backends_manager_get_document (const gchar *mime_type)
if (!info->module) {
gchar *path;
-
+
path = g_module_build_path (backends_dir(), info->module_name);
info->module = G_TYPE_MODULE (ev_module_new (path, info->resident));
g_free (path);
}
-
+
if (!g_type_module_use (info->module)) {
g_warning ("Cannot load backend '%s' since file '%s' cannot be read.",
info->module_name,
diff --git a/libdocument/ev-debug.c b/libdocument/ev-debug.c
index 4c3554ac..1d8adb7d 100644
--- a/libdocument/ev-debug.c
+++ b/libdocument/ev-debug.c
@@ -4,7 +4,7 @@
*
* Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence
* Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi
- * Copyright (C) 2002 - 2005 Paolo Maggi
+ * Copyright (C) 2002 - 2005 Paolo Maggi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -21,10 +21,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
-
+
/*
- * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a
- * list of people on the gedit Team.
+ * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a
+ * list of people on the gedit Team.
* See the ChangeLog files for a list of changes.
*
* $Id: gedit-debug.c 4809 2006-04-08 14:46:31Z pborelli $
@@ -106,13 +106,13 @@ ev_debug_message (EvDebugSection section,
if (format) {
va_list args;
-
+
va_start (args, format);
msg = g_strdup_vprintf (format, args);
va_end (args);
}
- g_print ("%s:%d (%s) %s\n", file, line, function, msg ? msg : "");
+ g_print ("%s:%d (%s) %s\n", file, line, function, msg ? msg : "");
fflush (stdout);
@@ -162,11 +162,11 @@ ev_profiler_stop (EvProfileSection section,
va_start (args, format);
name = g_strdup_vprintf (format, args);
va_end (args);
-
+
timer = g_hash_table_lookup (timers, name);
if (!timer)
return;
-
+
g_timer_stop (timer);
seconds = g_timer_elapsed (timer, NULL);
g_print ("[ %s ] %f s elapsed\n", name, seconds);
diff --git a/libdocument/ev-debug.h b/libdocument/ev-debug.h
index 3efa598c..e1faf424 100644
--- a/libdocument/ev-debug.h
+++ b/libdocument/ev-debug.h
@@ -4,7 +4,7 @@
*
* Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence
* Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi
- * Copyright (C) 2002 - 2005 Paolo Maggi
+ * Copyright (C) 2002 - 2005 Paolo Maggi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -21,10 +21,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
-
+
/*
- * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a
- * list of people on the gedit Team.
+ * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a
+ * list of people on the gedit Team.
* See the ChangeLog files for a list of changes.
*
* $Id: gedit-debug.h 4809 2006-04-08 14:46:31Z pborelli $
diff --git a/libdocument/ev-document-factory.c b/libdocument/ev-document-factory.c
index 7e96fade..b1454c64 100644
--- a/libdocument/ev-document-factory.c
+++ b/libdocument/ev-document-factory.c
@@ -1,6 +1,6 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
/*
- * Copyright (C) 2005, Red Hat, Inc.
+ * Copyright (C) 2005, Red Hat, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -49,7 +49,7 @@ gdk_pixbuf_mime_type_list ()
continue;
mime_types = gdk_pixbuf_format_get_mime_types (format);
- result = g_list_prepend (result, mime_types);
+ result = g_list_prepend (result, mime_types);
}
g_slist_free (formats);
@@ -118,7 +118,7 @@ get_compression_from_mime_type (const gchar *mime_type)
* fast or slow MIME type detection. If a document could be created,
* @compression is filled in with the document's compression type.
* On error, %NULL is returned and @error filled in.
- *
+ *
* Returns: a new #EvDocument instance, or %NULL on error with @error filled in
*/
static EvDocument *
@@ -144,12 +144,12 @@ get_document_from_uri (const char *uri,
} else {
g_propagate_error (error, err);
}
-
+
return NULL;
}
document = ev_backends_manager_get_document (mime_type);
-
+
#ifdef ENABLE_PIXBUF
if (!document && mime_type_supported_by_gdk_pixbuf (mime_type))
document = ev_backends_manager_get_document ("image/*");
@@ -163,7 +163,7 @@ get_document_from_uri (const char *uri,
mime_desc = g_content_type_get_description (content_type);
g_set_error (error,
- EV_DOCUMENT_ERROR,
+ EV_DOCUMENT_ERROR,
EV_DOCUMENT_ERROR_INVALID,
_("File type %s (%s) is not supported"),
mime_desc ? mime_desc : "-", mime_type);
@@ -177,7 +177,7 @@ get_document_from_uri (const char *uri,
*compression = get_compression_from_mime_type (mime_type);
g_free (mime_type);
-
+
return document;
}
@@ -248,7 +248,7 @@ ev_document_factory_get_document (const char *uri, GError **error)
g_object_unref (document);
document = NULL;
}
-
+
/* Try again with slow mime detection */
g_clear_error (&err);
uri_unc = NULL;
@@ -273,7 +273,7 @@ ev_document_factory_get_document (const char *uri, GError **error)
g_object_unref (document);
return NULL;
}
-
+
result = ev_document_load (document, uri_unc ? uri_unc : uri, &err);
if (result == FALSE) {
if (err == NULL) {
@@ -294,7 +294,7 @@ ev_document_factory_get_document (const char *uri, GError **error)
g_propagate_error (error, err);
}
-
+
return document;
}
@@ -312,10 +312,10 @@ file_filter_add_mime_types (EvTypeInfo *info, GtkFileFilter *filter)
for (l = pixbuf_types; l; l = g_list_next (l)) {
gchar **mime_types = (gchar **)l->data;
gint j = 0;
-
+
while ((mime_type = mime_types[j++]))
gtk_file_filter_add_mime_type (filter, mime_type);
-
+
g_strfreev (mime_types);
}
g_list_free (pixbuf_types);
@@ -323,7 +323,7 @@ file_filter_add_mime_types (EvTypeInfo *info, GtkFileFilter *filter)
return;
}
#endif /* ENABLE_PIXBUF */
-
+
while ((mime_type = info->mime_types[i++]))
gtk_file_filter_add_mime_type (filter, mime_type);
}
@@ -334,9 +334,9 @@ file_filter_add_mime_types (EvTypeInfo *info, GtkFileFilter *filter)
* @document: a #EvDocument, or %NULL
*
* Adds some file filters to @chooser.
-
+
* Always add a "All documents" format.
- *
+ *
* If @document is not %NULL, adds a #GtkFileFilter for @document's MIME type.
*
* If @document is %NULL, adds a #GtkFileFilter for each document type that atril
@@ -354,7 +354,7 @@ ev_document_factory_add_filters (GtkWidget *chooser, EvDocument *document)
g_return_if_fail (document == NULL || EV_IS_DOCUMENT (document));
all_types = ev_backends_manager_get_all_types_info ();
-
+
default_filter = document_filter = filter = gtk_file_filter_new ();
gtk_file_filter_set_name (filter, _("All Documents"));
g_list_foreach (all_types, (GFunc)file_filter_add_mime_types, filter);
diff --git a/libdocument/ev-document-factory.h b/libdocument/ev-document-factory.h
index 51d3569d..4c3dce59 100644
--- a/libdocument/ev-document-factory.h
+++ b/libdocument/ev-document-factory.h
@@ -1,6 +1,6 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
/*
- * Copyright (C) 2005, Red Hat, Inc.
+ * Copyright (C) 2005, Red Hat, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/libdocument/ev-document-find.c b/libdocument/ev-document-find.c
index 4be1b201..31e05372 100644
--- a/libdocument/ev-document-find.c
+++ b/libdocument/ev-document-find.c
@@ -45,7 +45,7 @@ ev_document_find_find_text (EvDocumentFind *document_find,
gboolean case_sensitive)
{
EvDocumentFindInterface *iface = EV_DOCUMENT_FIND_GET_IFACE (document_find);
-
+
return iface->find_text (document_find, page, text, case_sensitive);
}
diff --git a/libdocument/ev-document-fonts.c b/libdocument/ev-document-fonts.c
index 5afe33f2..b0bc92cb 100644
--- a/libdocument/ev-document-fonts.c
+++ b/libdocument/ev-document-fonts.c
@@ -1,6 +1,6 @@
/* ev-document-fonts.h
* this file is part of atril, a mate document_fonts viewer
- *
+ *
* Copyright (C) 2004 Red Hat, Inc.
*
* Author:
diff --git a/libdocument/ev-document-fonts.h b/libdocument/ev-document-fonts.h
index 9f163485..6251644a 100644
--- a/libdocument/ev-document-fonts.h
+++ b/libdocument/ev-document-fonts.h
@@ -1,6 +1,6 @@
/* ev-document-fonts.h
* this file is part of atril, a mate document viewer
- *
+ *
* Copyright (C) 2004 Red Hat, Inc.
*
* Author:
diff --git a/libdocument/ev-document-forms.c b/libdocument/ev-document-forms.c
index 223a0285..6ef96437 100644
--- a/libdocument/ev-document-forms.c
+++ b/libdocument/ev-document-forms.c
@@ -1,6 +1,6 @@
/* ev-document-forms.c
* this file is part of atril, a mate document viewer
- *
+ *
* Copyright (C) 2007 Carlos Garcia Campos <[email protected]>
*
* Atril is free software; you can redistribute it and/or modify it
@@ -46,7 +46,7 @@ ev_document_forms_document_is_modified (EvDocumentForms *document_forms)
}
gchar *
-ev_document_forms_form_field_text_get_text (EvDocumentForms *document_forms,
+ev_document_forms_form_field_text_get_text (EvDocumentForms *document_forms,
EvFormField *field)
{
EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
@@ -55,8 +55,8 @@ ev_document_forms_form_field_text_get_text (EvDocumentForms *document_forms,
}
void
-ev_document_forms_form_field_text_set_text (EvDocumentForms *document_forms,
- EvFormField *field,
+ev_document_forms_form_field_text_set_text (EvDocumentForms *document_forms,
+ EvFormField *field,
const gchar *text)
{
EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
@@ -74,8 +74,8 @@ ev_document_forms_form_field_button_get_state (EvDocumentForms *document_forms
}
void
-ev_document_forms_form_field_button_set_state (EvDocumentForms *document_forms,
- EvFormField *field,
+ev_document_forms_form_field_button_set_state (EvDocumentForms *document_forms,
+ EvFormField *field,
gboolean state)
{
EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
@@ -84,8 +84,8 @@ ev_document_forms_form_field_button_set_state (EvDocumentForms *document_forms
}
gchar *
-ev_document_forms_form_field_choice_get_item (EvDocumentForms *document_forms,
- EvFormField *field,
+ev_document_forms_form_field_choice_get_item (EvDocumentForms *document_forms,
+ EvFormField *field,
gint index)
{
EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
@@ -94,7 +94,7 @@ ev_document_forms_form_field_choice_get_item (EvDocumentForms *document_forms,
}
gint
-ev_document_forms_form_field_choice_get_n_items (EvDocumentForms *document_forms,
+ev_document_forms_form_field_choice_get_n_items (EvDocumentForms *document_forms,
EvFormField *field)
{
EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
@@ -103,8 +103,8 @@ ev_document_forms_form_field_choice_get_n_items (EvDocumentForms *document_for
}
gboolean
-ev_document_forms_form_field_choice_is_item_selected (EvDocumentForms *document_forms,
- EvFormField *field,
+ev_document_forms_form_field_choice_is_item_selected (EvDocumentForms *document_forms,
+ EvFormField *field,
gint index)
{
EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
@@ -113,8 +113,8 @@ ev_document_forms_form_field_choice_is_item_selected (EvDocumentForms *documen
}
void
-ev_document_forms_form_field_choice_select_item (EvDocumentForms *document_forms,
- EvFormField *field,
+ev_document_forms_form_field_choice_select_item (EvDocumentForms *document_forms,
+ EvFormField *field,
gint index)
{
EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
@@ -123,8 +123,8 @@ ev_document_forms_form_field_choice_select_item (EvDocumentForms *document_for
}
void
-ev_document_forms_form_field_choice_toggle_item (EvDocumentForms *document_forms,
- EvFormField *field,
+ev_document_forms_form_field_choice_toggle_item (EvDocumentForms *document_forms,
+ EvFormField *field,
gint index)
{
EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
@@ -133,7 +133,7 @@ ev_document_forms_form_field_choice_toggle_item (EvDocumentForms *document_for
}
void
-ev_document_forms_form_field_choice_unselect_all (EvDocumentForms *document_forms,
+ev_document_forms_form_field_choice_unselect_all (EvDocumentForms *document_forms,
EvFormField *field)
{
EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
diff --git a/libdocument/ev-document-forms.h b/libdocument/ev-document-forms.h
index a77381ea..760fd10b 100644
--- a/libdocument/ev-document-forms.h
+++ b/libdocument/ev-document-forms.h
@@ -1,6 +1,6 @@
/* ev-document-forms.h
* this file is part of atril, a mate document viewer
- *
+ *
* Copyright (C) 2007 Carlos Garcia Campos <[email protected]>
*
* Atril is free software; you can redistribute it and/or modify it
diff --git a/libdocument/ev-document-images.c b/libdocument/ev-document-images.c
index 4316a19a..b095c33e 100644
--- a/libdocument/ev-document-images.c
+++ b/libdocument/ev-document-images.c
@@ -1,6 +1,6 @@
/* ev-document-images.c
* this file is part of atril, a mate document_links viewer
- *
+ *
* Copyright (C) 2006 Carlos Garcia Campos <[email protected]>
*
* Atril is free software; you can redistribute it and/or modify it
diff --git a/libdocument/ev-document-images.h b/libdocument/ev-document-images.h
index ed4f534e..bbe7cd42 100644
--- a/libdocument/ev-document-images.h
+++ b/libdocument/ev-document-images.h
@@ -1,6 +1,6 @@
/* ev-document-images.h
* this file is part of atril, a mate document viewer
- *
+ *
* Copyright (C) 2006 Carlos Garcia Campos <[email protected]>
*
* Atril is free software; you can redistribute it and/or modify it
diff --git a/libdocument/ev-document-layers.c b/libdocument/ev-document-layers.c
index a05b1d46..4c599e25 100644
--- a/libdocument/ev-document-layers.c
+++ b/libdocument/ev-document-layers.c
@@ -1,6 +1,6 @@
/* ev-document-layers.c
* this file is part of atril, a mate document_links viewer
- *
+ *
* Copyright (C) 2008 Carlos Garcia Campos <[email protected]>
*
* Atril is free software; you can redistribute it and/or modify it
diff --git a/libdocument/ev-document-layers.h b/libdocument/ev-document-layers.h
index 30063be5..8e7b74d7 100644
--- a/libdocument/ev-document-layers.h
+++ b/libdocument/ev-document-layers.h
@@ -1,6 +1,6 @@
/* ev-document-layers.h
* this file is part of atril, a mate document viewer
- *
+ *
* Copyright (C) 2008 Carlos Garcia Campos <[email protected]>
*
* Atril is free software; you can redistribute it and/or modify it
diff --git a/libdocument/ev-document-links.c b/libdocument/ev-document-links.c
index af41568d..87685ed0 100644
--- a/libdocument/ev-document-links.c
+++ b/libdocument/ev-document-links.c
@@ -1,6 +1,6 @@
/* ev-document-links.h
* this file is part of atril, a mate document_links viewer
- *
+ *
* Copyright (C) 2004 Red Hat, Inc.
*
* Author:
diff --git a/libdocument/ev-document-links.h b/libdocument/ev-document-links.h
index 6b561c0e..6af486bd 100644
--- a/libdocument/ev-document-links.h
+++ b/libdocument/ev-document-links.h
@@ -1,6 +1,6 @@
/* ev-document-links.h
* this file is part of atril, a mate document viewer
- *
+ *
* Copyright (C) 2004 Red Hat, Inc.
*
* Author:
diff --git a/libdocument/ev-document-misc.c b/libdocument/ev-document-misc.c
index 3755f011..1a07781c 100644
--- a/libdocument/ev-document-misc.c
+++ b/libdocument/ev-document-misc.c
@@ -214,7 +214,7 @@ ev_document_misc_surface_from_pixbuf (GdkPixbuf *pixbuf)
gdk_cairo_set_source_pixbuf (cr, pixbuf, 0, 0);
cairo_paint (cr);
cairo_destroy (cr);
-
+
return surface;
}
@@ -249,7 +249,7 @@ ev_document_misc_surface_rotate_and_scale (cairo_surface_t *surface,
width = cairo_image_surface_get_width (surface);
height = cairo_image_surface_get_height (surface);
-
+
if (dest_width == width &&
dest_height == height &&
dest_rotation == 0) {
@@ -280,14 +280,14 @@ ev_document_misc_surface_rotate_and_scale (cairo_surface_t *surface,
cairo_translate (cr, 0, 0);
}
cairo_rotate (cr, dest_rotation * G_PI / 180.0);
-
+
if (dest_width != width || dest_height != height) {
cairo_pattern_set_filter (cairo_get_source (cr), CAIRO_FILTER_BILINEAR);
cairo_scale (cr,
(gdouble)dest_width / width,
(gdouble)dest_height / height);
}
-
+
cairo_set_source_surface (cr, surface, 0, 0);
cairo_paint (cr);
cairo_destroy (cr);
diff --git a/libdocument/ev-document-security.c b/libdocument/ev-document-security.c
index 6d87782d..a71b0c09 100644
--- a/libdocument/ev-document-security.c
+++ b/libdocument/ev-document-security.c
@@ -1,6 +1,6 @@
/* ev-document-links.h
* this file is part of atril, a mate document_links viewer
- *
+ *
* Copyright (C) 2004 Red Hat, Inc.
*
* Author:
diff --git a/libdocument/ev-document-security.h b/libdocument/ev-document-security.h
index 984690d3..1f411562 100644
--- a/libdocument/ev-document-security.h
+++ b/libdocument/ev-document-security.h
@@ -1,6 +1,6 @@
/* ev-document-security.h
* this file is part of atril, a mate pdf viewer
- *
+ *
* Copyright (C) 2005 Red Hat, Inc.
*
* Author:
diff --git a/libdocument/ev-document-thumbnails.h b/libdocument/ev-document-thumbnails.h
index bebf2348..9674ba38 100644
--- a/libdocument/ev-document-thumbnails.h
+++ b/libdocument/ev-document-thumbnails.h
@@ -45,19 +45,19 @@ struct _EvDocumentThumbnailsInterface {
/* Methods */
GdkPixbuf * (* get_thumbnail) (EvDocumentThumbnails *document,
- EvRenderContext *rc,
+ EvRenderContext *rc,
gboolean border);
void (* get_dimensions) (EvDocumentThumbnails *document,
EvRenderContext *rc,
gint *width,
gint *height);
-
+
};
GType ev_document_thumbnails_get_type (void) G_GNUC_CONST;
GdkPixbuf *ev_document_thumbnails_get_thumbnail (EvDocumentThumbnails *document,
- EvRenderContext *rc,
+ EvRenderContext *rc,
gboolean border);
void ev_document_thumbnails_get_dimensions (EvDocumentThumbnails *document,
EvRenderContext *rc,
diff --git a/libdocument/ev-document-transition.c b/libdocument/ev-document-transition.c
index cf305cf4..bc0e7eb7 100644
--- a/libdocument/ev-document-transition.c
+++ b/libdocument/ev-document-transition.c
@@ -1,6 +1,6 @@
/* ev-document-transition.c
* this file is part of atril, a mate document viewer
- *
+ *
* Copyright (C) 2006 Carlos Garcia Campos <[email protected]>
*
* Atril is free software; you can redistribute it and/or modify it
diff --git a/libdocument/ev-document-transition.h b/libdocument/ev-document-transition.h
index d8289634..d89dd415 100644
--- a/libdocument/ev-document-transition.h
+++ b/libdocument/ev-document-transition.h
@@ -1,6 +1,6 @@
/* ev-document-transition.h
* this file is part of atril, a mate document viewer
- *
+ *
* Copyright (C) 2006 Carlos Garcia Campos <[email protected]>
*
* Atril is free software; you can redistribute it and/or modify it
diff --git a/libdocument/ev-document.c b/libdocument/ev-document.c
index e7f59ded..c074b3b2 100644
--- a/libdocument/ev-document.c
+++ b/libdocument/ev-document.c
@@ -203,7 +203,7 @@ ev_document_fc_mutex_trylock (void)
* @error: a #GError location to store an error, or %NULL
*
* Loads @document from @uri.
- *
+ *
* On failure, %FALSE is returned and @error is filled in.
* If the document is encrypted, EV_DEFINE_ERROR_ENCRYPTED is returned.
* If the backend cannot load the specific document, EV_DOCUMENT_ERROR_INVALID
@@ -229,7 +229,7 @@ ev_document_load (EvDocument *document,
if ( !g_strcmp0 (ev_file_get_mime_type(uri,TRUE,&err),"application/epub+zip") )
document->iswebdocument=TRUE ;
-
+
retval = klass->load (document, uri, &err);
if (!retval) {
if (err) {
@@ -255,7 +255,7 @@ ev_document_load (EvDocument *document,
priv->uri = g_strdup (uri);
priv->n_pages = _ev_document_get_n_pages (document);
-
+
for (i = 0; i < priv->n_pages; i++) {
/*
@@ -263,13 +263,13 @@ ev_document_load (EvDocument *document,
* We are however geeneralising the scenario by considering epub as a type of web document.
* FIXME: Labels, or bookmarks though, can be done.
*/
-
+
EvPage *page = ev_document_get_page (document, i);
gdouble page_width = 0;
gdouble page_height = 0;
EvPageSize *page_size;
gchar *page_label;
-
+
if ( document->iswebdocument == FALSE ) {
_ev_document_get_page_size (document, page, &page_width, &page_height);
}
@@ -278,7 +278,7 @@ ev_document_load (EvDocument *document,
page_width = 800;
page_height= 600;
}
-
+
if (i == 0) {
priv->uniform_width = page_width;
priv->uniform_height = page_height;
@@ -298,9 +298,9 @@ ev_document_load (EvDocument *document,
priv->uniform_height != page_height)) {
/* It's a different page size. Backfill the array. */
int j;
-
+
priv->page_sizes = g_new0 (EvPageSize, priv->n_pages);
-
+
for (j = 0; j < i; j++) {
page_size = &(priv->page_sizes[j]);
page_size->width = priv->uniform_width;
@@ -361,7 +361,7 @@ ev_document_load (EvDocument *document,
* @error: a #GError location to store an error, or %NULL
*
* Saves @document to @uri.
- *
+ *
* Returns: %TRUE on success, or %FALSE on error with @error filled in
*/
gboolean
@@ -780,7 +780,7 @@ EvDocumentInfo *
ev_document_info_copy (EvDocumentInfo *info)
{
EvDocumentInfo *copy;
-
+
g_return_val_if_fail (info != NULL, NULL);
copy = g_new0 (EvDocumentInfo, 1);
@@ -793,7 +793,7 @@ ev_document_info_copy (EvDocumentInfo *info)
copy->creator = g_strdup (info->creator);
copy->producer = g_strdup (info->producer);
copy->linearized = g_strdup (info->linearized);
-
+
copy->creation_date = info->creation_date;
copy->modified_date = info->modified_date;
copy->layout = info->layout;
diff --git a/libdocument/ev-document.h b/libdocument/ev-document.h
index 6c492da8..43af4b58 100644
--- a/libdocument/ev-document.h
+++ b/libdocument/ev-document.h
@@ -115,7 +115,7 @@ struct _EvDocumentClass
gboolean (* support_synctex) (EvDocument *document);
void (* toggle_night_mode) (EvDocument *document,gboolean night);
- void (*check_add_night_sheet)(EvDocument *document);
+ void (*check_add_night_sheet)(EvDocument *document);
};
GType ev_document_get_type (void) G_GNUC_CONST;
diff --git a/libdocument/ev-file-exporter.c b/libdocument/ev-file-exporter.c
index ccb3ef09..6e79a530 100644
--- a/libdocument/ev-file-exporter.c
+++ b/libdocument/ev-file-exporter.c
@@ -62,7 +62,7 @@ void
ev_file_exporter_end_page (EvFileExporter *exporter)
{
EvFileExporterInterface *iface = EV_FILE_EXPORTER_GET_IFACE (exporter);
-
+
if (iface->end_page)
iface->end_page (exporter);
}
diff --git a/libdocument/ev-file-helpers.c b/libdocument/ev-file-helpers.c
index 1826f8c3..9b22e93a 100644
--- a/libdocument/ev-file-helpers.c
+++ b/libdocument/ev-file-helpers.c
@@ -106,8 +106,8 @@ _ev_file_helpers_init (void)
void
_ev_file_helpers_shutdown (void)
-{
- if (tmp_dir != NULL)
+{
+ if (tmp_dir != NULL)
g_rmdir (tmp_dir);
g_free (tmp_dir);
@@ -339,11 +339,11 @@ ev_tmp_file_unlink (GFile *file)
if (!file)
return;
-
+
res = g_file_delete (file, NULL, &error);
if (!res) {
char *uri;
-
+
uri = g_file_get_uri (file);
g_warning ("Unable to delete temp file %s: %s\n", uri, error->message);
g_free (uri);
@@ -355,17 +355,17 @@ void
ev_tmp_uri_unlink (const gchar *uri)
{
GFile *file;
-
+
if (!uri)
return;
-
+
file = g_file_new_for_uri (uri);
if (!g_file_is_native (file)) {
g_warning ("Attempting to delete non native uri: %s\n", uri);
g_object_unref (file);
return;
}
-
+
ev_tmp_file_unlink (file);
g_object_unref (file);
}
@@ -407,7 +407,7 @@ ev_xfer_uri_simple (const char *from,
GFile *source_file;
GFile *target_file;
gboolean result;
-
+
if (!from)
return TRUE;
@@ -415,7 +415,7 @@ ev_xfer_uri_simple (const char *from,
source_file = g_file_new_for_uri (from);
target_file = g_file_new_for_uri (to);
-
+
result = g_file_copy (source_file, target_file,
G_FILE_COPY_TARGET_DEFAULT_PERMS |
G_FILE_COPY_OVERWRITE,
@@ -423,7 +423,7 @@ ev_xfer_uri_simple (const char *from,
g_object_unref (target_file);
g_object_unref (source_file);
-
+
return result;
}
@@ -464,7 +464,7 @@ get_mime_type_from_data (const gchar *uri, GError **error)
gchar *content_type, *mime_type;
file = g_file_new_for_uri (uri);
-
+
input_stream = g_file_read (file, NULL, error);
if (!input_stream) {
g_object_unref (file);
@@ -505,7 +505,7 @@ get_mime_type_from_data (const gchar *uri, GError **error)
*
* Note: on unknown MIME types, this may return NULL without @error
* being filled in.
- *
+ *
* Returns: a newly allocated string with the MIME type of the file at
* @uri, or %NULL on error or if the MIME type could not be determined
*/
@@ -532,7 +532,7 @@ static const char *compressor_cmds[] = {
static gchar *
compression_run (const gchar *uri,
EvCompressionType type,
- gboolean compress,
+ gboolean compress,
GError **error)
{
gchar *argv[N_ARGS];
@@ -659,7 +659,7 @@ ev_file_uncompress (const gchar *uri,
* @error: a #GError location to store an error, or %NULL
*
* Compresses the file at @uri.
-
+
* If @type is %EV_COMPRESSION_NONE, it does nothing and returns %NULL.
*
* Otherwise, it returns the filename of a
diff --git a/libdocument/ev-form-field.c b/libdocument/ev-form-field.c
index b744eb8f..e2739e79 100644
--- a/libdocument/ev-form-field.c
+++ b/libdocument/ev-form-field.c
@@ -150,7 +150,7 @@ ev_form_field_text_new (gint id,
EvFormFieldTextType type)
{
EvFormField *field;
-
+
g_return_val_if_fail (id >= 0, NULL);
g_return_val_if_fail (type >= EV_FORM_FIELD_TEXT_NORMAL &&
type <= EV_FORM_FIELD_TEXT_FILE_SELECT, NULL);
@@ -188,7 +188,7 @@ ev_form_field_choice_new (gint id,
g_return_val_if_fail (id >= 0, NULL);
g_return_val_if_fail (type >= EV_FORM_FIELD_CHOICE_COMBO &&
type <= EV_FORM_FIELD_CHOICE_LIST, NULL);
-
+
field = EV_FORM_FIELD (g_object_new (EV_TYPE_FORM_FIELD_CHOICE, NULL));
field->id = id;
EV_FORM_FIELD_CHOICE (field)->type = type;
diff --git a/libdocument/ev-form-field.h b/libdocument/ev-form-field.h
index a8a48ffd..c0795463 100644
--- a/libdocument/ev-form-field.h
+++ b/libdocument/ev-form-field.h
@@ -37,7 +37,7 @@ G_BEGIN_DECLS
#define EV_FORM_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_FORM_FIELD, EvFormFieldClass))
#define EV_IS_FORM_FIELD(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_FORM_FIELD))
#define EV_IS_FORM_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_FORM_FIELD))
-#define EV_FORM_FIELD_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_FORM_FIELD, EvFormFieldClass))
+#define EV_FORM_FIELD_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_FORM_FIELD, EvFormFieldClass))
#define EV_TYPE_FORM_FIELD_TEXT (ev_form_field_text_get_type())
#define EV_FORM_FIELD_TEXT(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_FORM_FIELD_TEXT, EvFormFieldText))
@@ -119,13 +119,13 @@ struct _EvFormFieldClass
{
GObjectClass parent_class;
};
-
+
struct _EvFormFieldText
{
EvFormField partent;
-
+
EvFormFieldTextType type;
-
+
gboolean do_spell_check : 1;
gboolean do_scroll : 1;
gboolean comb : 1;
@@ -144,7 +144,7 @@ struct _EvFormFieldTextClass
struct _EvFormFieldButton
{
EvFormField partent;
-
+
EvFormFieldButtonType type;
gboolean state;
@@ -160,7 +160,7 @@ struct _EvFormFieldChoice
EvFormField partent;
EvFormFieldChoiceType type;
-
+
gboolean multi_select : 1;
gboolean is_editable : 1;
gboolean do_spell_check : 1;
@@ -178,7 +178,7 @@ struct _EvFormFieldChoiceClass
struct _EvFormFieldSignature
{
EvFormField partent;
-
+
/* TODO */
};
diff --git a/libdocument/ev-image.c b/libdocument/ev-image.c
index 85530101..9e2525f8 100644
--- a/libdocument/ev-image.c
+++ b/libdocument/ev-image.c
@@ -137,7 +137,7 @@ ev_image_save_tmp (EvImage *image,
GError *error = NULL;
gchar *filename = NULL;
int fd;
-
+
g_return_val_if_fail (EV_IS_IMAGE (image), NULL);
g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);
@@ -158,7 +158,7 @@ ev_image_save_tmp (EvImage *image,
goto had_error;
g_free (filename);
-
+
return image->priv->tmp_uri;
}
diff --git a/libdocument/ev-image.h b/libdocument/ev-image.h
index d0c4b80c..738b7fd5 100644
--- a/libdocument/ev-image.h
+++ b/libdocument/ev-image.h
@@ -42,7 +42,7 @@ typedef struct _EvImagePrivate EvImagePrivate;
struct _EvImage {
GObject base_instance;
-
+
EvImagePrivate *priv;
};
diff --git a/libdocument/ev-layer.h b/libdocument/ev-layer.h
index 656d2994..69a693e7 100644
--- a/libdocument/ev-layer.h
+++ b/libdocument/ev-layer.h
@@ -41,7 +41,7 @@ typedef struct _EvLayerPrivate EvLayerPrivate;
struct _EvLayer {
GObject base_instance;
-
+
EvLayerPrivate *priv;
};
diff --git a/libdocument/ev-link-dest.c b/libdocument/ev-link-dest.c
index f06bee12..6cf8e138 100644
--- a/libdocument/ev-link-dest.c
+++ b/libdocument/ev-link-dest.c
@@ -45,7 +45,7 @@ typedef enum {
struct _EvLinkDest {
GObject base_instance;
-
+
EvLinkDestPrivate *priv;
};
@@ -95,7 +95,7 @@ ev_link_dest_get_top (EvLinkDest *self,
if (change_top)
*change_top = (self->priv->change & EV_DEST_CHANGE_TOP);
-
+
return self->priv->top;
}
@@ -416,7 +416,7 @@ ev_link_dest_new_xyz (gint page,
change |= EV_DEST_CHANGE_TOP;
if (change_zoom)
change |= EV_DEST_CHANGE_ZOOM;
-
+
return EV_LINK_DEST (g_object_new (EV_TYPE_LINK_DEST,
"page", page,
"type", EV_LINK_DEST_TYPE_XYZ,
@@ -445,7 +445,7 @@ ev_link_dest_new_fith (gint page,
if (change_top)
change |= EV_DEST_CHANGE_TOP;
-
+
return EV_LINK_DEST (g_object_new (EV_TYPE_LINK_DEST,
"page", page,
"type", EV_LINK_DEST_TYPE_FITH,
@@ -480,7 +480,7 @@ ev_link_dest_new_fitr (gint page,
gdouble top)
{
EvDestChange change = EV_DEST_CHANGE_TOP | EV_DEST_CHANGE_LEFT;
-
+
return EV_LINK_DEST (g_object_new (EV_TYPE_LINK_DEST,
"page", page,
"type", EV_LINK_DEST_TYPE_FITR,
diff --git a/libdocument/ev-link-dest.h b/libdocument/ev-link-dest.h
index dd1f10a1..9ccc8a55 100644
--- a/libdocument/ev-link-dest.h
+++ b/libdocument/ev-link-dest.h
@@ -51,7 +51,7 @@ typedef enum {
EV_LINK_DEST_TYPE_PAGE_LABEL,
EV_LINK_DEST_TYPE_HLINK,
EV_LINK_DEST_TYPE_UNKNOWN
-} EvLinkDestType;
+} EvLinkDestType;
GType ev_link_dest_get_type (void) G_GNUC_CONST;
diff --git a/libdocument/ev-link.c b/libdocument/ev-link.c
index dab2e9f5..bb28ab30 100644
--- a/libdocument/ev-link.c
+++ b/libdocument/ev-link.c
@@ -50,7 +50,7 @@ const gchar *
ev_link_get_title (EvLink *self)
{
g_return_val_if_fail (EV_IS_LINK (self), NULL);
-
+
return self->priv->title;
}
@@ -58,7 +58,7 @@ EvLinkAction *
ev_link_get_action (EvLink *self)
{
g_return_val_if_fail (EV_IS_LINK (self), NULL);
-
+
return self->priv->action;
}
@@ -94,10 +94,10 @@ ev_link_set_property (GObject *object,
GParamSpec *param_spec)
{
EvLink *self = EV_LINK (object);
-
+
switch (prop_id) {
case PROP_TITLE:
- self->priv->title = g_value_dup_string (value);
+ self->priv->title = g_value_dup_string (value);
break;
case PROP_ACTION:
self->priv->action = g_value_get_pointer (value);
diff --git a/libdocument/ev-module.c b/libdocument/ev-module.c
index 1a147eff..9512c1ff 100644
--- a/libdocument/ev-module.c
+++ b/libdocument/ev-module.c
@@ -2,7 +2,7 @@
* ev-module.c
* This file is part of Atril
*
- * Copyright (C) 2005 - Paolo Maggi
+ * Copyright (C) 2005 - Paolo Maggi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -16,10 +16,10 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
-
+
/* This is a modified version of ephy-module.c from Epiphany source code.
* Here the original copyright assignment:
*
@@ -29,9 +29,9 @@
*/
/*
- * Modified by the gedit Team, 2005. See the AUTHORS file for a
- * list of people on the gedit Team.
- * See the ChangeLog files for a list of changes.
+ * Modified by the gedit Team, 2005. See the AUTHORS file for a
+ * list of people on the gedit Team.
+ * See the ChangeLog files for a list of changes.
*
* $Id: gedit-module.c 5367 2006-12-17 14:29:49Z pborelli $
*/
@@ -103,7 +103,7 @@ ev_module_load (GTypeModule *gmodule)
if (module->type == 0) {
g_warning ("Invalid atril backend contained by module %s", module->path);
-
+
return FALSE;
}
@@ -136,7 +136,7 @@ GObject *
ev_module_new_object (EvModule *module)
{
g_return_val_if_fail (EV_IS_MODULE (module), NULL);
-
+
if (module->type == 0)
return NULL;
diff --git a/libdocument/ev-module.h b/libdocument/ev-module.h
index 629c251a..1804a1f7 100644
--- a/libdocument/ev-module.h
+++ b/libdocument/ev-module.h
@@ -2,7 +2,7 @@
* ev-module.h
* This file is part of Atril
*
- * Copyright (C) 2005 - Paolo Maggi
+ * Copyright (C) 2005 - Paolo Maggi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -16,10 +16,10 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
-
+
/* This is a modified version of gedit-module.h from Epiphany source code.
* Here the original copyright assignment:
*
@@ -29,15 +29,15 @@
*/
/*
- * Modified by the gedit Team, 2005. See the AUTHORS file for a
- * list of people on the gedit Team.
- * See the ChangeLog files for a list of changes.
+ * Modified by the gedit Team, 2005. See the AUTHORS file for a
+ * list of people on the gedit Team.
+ * See the ChangeLog files for a list of changes.
*
* $Id: gedit-module.h 5263 2006-10-08 14:26:02Z pborelli $
*/
/* Modified by Atril Team */
-
+
#if !defined (ATRIL_COMPILATION)
#error "This is a private header."
#endif
diff --git a/libdocument/ev-page.c b/libdocument/ev-page.c
index 80a0c5d9..ed6d0f87 100644
--- a/libdocument/ev-page.c
+++ b/libdocument/ev-page.c
@@ -32,7 +32,7 @@ static void
ev_page_finalize (GObject *object)
{
EvPage *page = EV_PAGE (object);
-
+
if (page->backend_destroy_func) {
page->backend_destroy_func (page->backend_page);
page->backend_destroy_func = NULL;
diff --git a/libdocument/ev-page.h b/libdocument/ev-page.h
index 8f7ab860..a165aa50 100644
--- a/libdocument/ev-page.h
+++ b/libdocument/ev-page.h
@@ -43,7 +43,7 @@ typedef GDestroyNotify EvBackendPageDestroyFunc;
struct _EvPage {
GObject base_instance;
-
+
gint index;
EvBackendPage backend_page;
diff --git a/libdocument/ev-render-context.h b/libdocument/ev-render-context.h
index 0344d97b..4366842d 100644
--- a/libdocument/ev-render-context.h
+++ b/libdocument/ev-render-context.h
@@ -46,7 +46,7 @@ struct _EvRenderContextClass
struct _EvRenderContext
{
GObject parent;
-
+
EvPage *page;
gint rotation;
gdouble scale;
diff --git a/libdocument/ev-selection.c b/libdocument/ev-selection.c
index 49e56eb4..c35c3b01 100644
--- a/libdocument/ev-selection.c
+++ b/libdocument/ev-selection.c
@@ -43,7 +43,7 @@ ev_selection_render_selection (EvSelection *selection,
if (!iface->render_selection)
return;
-
+
iface->render_selection (selection, rc,
surface,
points, old_points,
@@ -72,6 +72,6 @@ ev_selection_get_selection_region (EvSelection *selection,
if (!iface->get_selection_region)
return NULL;
-
+
return iface->get_selection_region (selection, rc, style, points);
}