From 658fab1f008bff7e1ec147d95baa04bc44c2fbcd Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 27 Oct 2021 17:30:36 +0200 Subject: Use a blank line at most --- libdocument/ev-document-attachments.c | 1 - libdocument/ev-document-factory.c | 1 - libdocument/ev-document-fonts.h | 1 - libdocument/ev-document-misc.c | 1 - libdocument/ev-document-security.h | 1 - libdocument/ev-document-text.c | 1 - libdocument/ev-document.c | 1 - libdocument/ev-file-helpers.h | 1 - libdocument/ev-form-field.h | 1 - libdocument/ev-image.h | 1 - libdocument/ev-render-context.h | 2 -- libdocument/ev-transition-effect.h | 2 -- 12 files changed, 14 deletions(-) (limited to 'libdocument') diff --git a/libdocument/ev-document-attachments.c b/libdocument/ev-document-attachments.c index 6b1b695f..cdc840d5 100644 --- a/libdocument/ev-document-attachments.c +++ b/libdocument/ev-document-attachments.c @@ -52,4 +52,3 @@ ev_document_attachments_get_attachments (EvDocumentAttachments *document_attachm return iface->get_attachments (document_attachments); } - diff --git a/libdocument/ev-document-factory.c b/libdocument/ev-document-factory.c index 82286829..4d07f065 100644 --- a/libdocument/ev-document-factory.c +++ b/libdocument/ev-document-factory.c @@ -106,7 +106,6 @@ get_compression_from_mime_type (const gchar *mime_type) return EV_COMPRESSION_NONE; } - /* * get_document_from_uri: * @uri: the document URI diff --git a/libdocument/ev-document-fonts.h b/libdocument/ev-document-fonts.h index 6251644a..bd5d4220 100644 --- a/libdocument/ev-document-fonts.h +++ b/libdocument/ev-document-fonts.h @@ -37,7 +37,6 @@ G_BEGIN_DECLS - #define EV_TYPE_DOCUMENT_FONTS (ev_document_fonts_get_type ()) #define EV_DOCUMENT_FONTS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_FONTS, EvDocumentFonts)) #define EV_DOCUMENT_FONTS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsInterface)) diff --git a/libdocument/ev-document-misc.c b/libdocument/ev-document-misc.c index 80948936..06dce9c5 100644 --- a/libdocument/ev-document-misc.c +++ b/libdocument/ev-document-misc.c @@ -149,7 +149,6 @@ ev_document_misc_get_page_border_size (gint page_width, } } - void ev_document_misc_paint_one_page (cairo_t *cr, GtkWidget *widget, diff --git a/libdocument/ev-document-security.h b/libdocument/ev-document-security.h index 1f411562..beef49af 100644 --- a/libdocument/ev-document-security.h +++ b/libdocument/ev-document-security.h @@ -35,7 +35,6 @@ G_BEGIN_DECLS - #define EV_TYPE_DOCUMENT_SECURITY (ev_document_security_get_type ()) #define EV_DOCUMENT_SECURITY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_SECURITY, EvDocumentSecurity)) #define EV_DOCUMENT_SECURITY_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_SECURITY, EvDocumentSecurityInterface)) diff --git a/libdocument/ev-document-text.c b/libdocument/ev-document-text.c index 8fdc916c..072782f6 100644 --- a/libdocument/ev-document-text.c +++ b/libdocument/ev-document-text.c @@ -42,7 +42,6 @@ ev_document_text_get_text (EvDocumentText *document_text, return iface->get_text (document_text, page); } - gboolean ev_document_text_get_text_layout (EvDocumentText *document_text, EvPage *page, diff --git a/libdocument/ev-document.c b/libdocument/ev-document.c index f7c87895..96b80946 100644 --- a/libdocument/ev-document.c +++ b/libdocument/ev-document.c @@ -388,7 +388,6 @@ ev_document_get_page (EvDocument *document, return klass->get_page (document, index); } - #ifdef ENABLE_SYNCTEX static gboolean _ev_document_support_synctex (EvDocument *document) diff --git a/libdocument/ev-file-helpers.h b/libdocument/ev-file-helpers.h index 0a6ff7e0..d55ef267 100644 --- a/libdocument/ev-file-helpers.h +++ b/libdocument/ev-file-helpers.h @@ -66,7 +66,6 @@ gchar *ev_file_compress (const gchar *uri, EvCompressionType type, GError **error); - G_END_DECLS #endif /* EV_FILE_HELPERS_H */ diff --git a/libdocument/ev-form-field.h b/libdocument/ev-form-field.h index c0795463..45db85d9 100644 --- a/libdocument/ev-form-field.h +++ b/libdocument/ev-form-field.h @@ -209,7 +209,6 @@ EvFormField *ev_form_field_choice_new (gint id, GType ev_form_field_signature_get_type (void) G_GNUC_CONST; EvFormField *ev_form_field_signature_new (gint id); - G_END_DECLS #endif /* !EV_FORM_FIELD_H */ diff --git a/libdocument/ev-image.h b/libdocument/ev-image.h index 738b7fd5..899d502f 100644 --- a/libdocument/ev-image.h +++ b/libdocument/ev-image.h @@ -62,7 +62,6 @@ const gchar *ev_image_save_tmp (EvImage *image, GdkPixbuf *pixbuf); const gchar *ev_image_get_tmp_uri (EvImage *image); - G_END_DECLS #endif /* __EV_IMAGE_H__ */ diff --git a/libdocument/ev-render-context.h b/libdocument/ev-render-context.h index 4366842d..e071cb01 100644 --- a/libdocument/ev-render-context.h +++ b/libdocument/ev-render-context.h @@ -52,7 +52,6 @@ struct _EvRenderContext gdouble scale; }; - GType ev_render_context_get_type (void) G_GNUC_CONST; EvRenderContext *ev_render_context_new (EvPage *page, gint rotation, @@ -64,7 +63,6 @@ void ev_render_context_set_rotation (EvRenderContext *rc, void ev_render_context_set_scale (EvRenderContext *rc, gdouble scale); - G_END_DECLS #endif /* !EV_RENDER_CONTEXT */ diff --git a/libdocument/ev-transition-effect.h b/libdocument/ev-transition-effect.h index b9d00c0b..5cb91dd1 100644 --- a/libdocument/ev-transition-effect.h +++ b/libdocument/ev-transition-effect.h @@ -61,7 +61,6 @@ typedef enum { EV_TRANSITION_DIRECTION_OUTWARD } EvTransitionEffectDirection; - typedef struct EvTransitionEffect EvTransitionEffect; typedef struct EvTransitionEffectClass EvTransitionEffectClass; @@ -75,7 +74,6 @@ struct EvTransitionEffectClass GObjectClass parent_class; }; - GType ev_transition_effect_get_type (void) G_GNUC_CONST; EvTransitionEffect *ev_transition_effect_new (EvTransitionEffectType type, -- cgit v1.2.1