summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-11-11 09:27:38 +0100
committerZenWalker <[email protected]>2019-11-28 01:03:04 +0100
commit0fc51a2c8daff96ed2535ed318dc4d737b34845c (patch)
tree248e5027a9cf0b33d030f072a36ea48cd1834c1f /libview
parent8a85c86a88a517ec52c4a14d1f41e23b975a60dc (diff)
downloadatril-0fc51a2c8daff96ed2535ed318dc4d737b34845c.tar.bz2
atril-0fc51a2c8daff96ed2535ed318dc4d737b34845c.tar.xz
avoid redundant redeclarations
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-jobs.c27
-rw-r--r--libview/ev-pixbuf-cache.c2
-rw-r--r--libview/ev-view.c2
-rw-r--r--libview/ev-web-view.c2
4 files changed, 0 insertions, 33 deletions
diff --git a/libview/ev-jobs.c b/libview/ev-jobs.c
index 134324e4..dca41a9a 100644
--- a/libview/ev-jobs.c
+++ b/libview/ev-jobs.c
@@ -49,33 +49,6 @@
#include <glib/gi18n-lib.h>
#include <unistd.h>
-static void ev_job_init (EvJob *job);
-static void ev_job_class_init (EvJobClass *class);
-static void ev_job_links_init (EvJobLinks *job);
-static void ev_job_links_class_init (EvJobLinksClass *class);
-static void ev_job_attachments_init (EvJobAttachments *job);
-static void ev_job_attachments_class_init (EvJobAttachmentsClass *class);
-static void ev_job_annots_init (EvJobAnnots *job);
-static void ev_job_annots_class_init (EvJobAnnotsClass *class);
-static void ev_job_render_init (EvJobRender *job);
-static void ev_job_render_class_init (EvJobRenderClass *class);
-static void ev_job_page_data_init (EvJobPageData *job);
-static void ev_job_page_data_class_init (EvJobPageDataClass *class);
-static void ev_job_thumbnail_init (EvJobThumbnail *job);
-static void ev_job_thumbnail_class_init (EvJobThumbnailClass *class);
-static void ev_job_load_init (EvJobLoad *job);
-static void ev_job_load_class_init (EvJobLoadClass *class);
-static void ev_job_save_init (EvJobSave *job);
-static void ev_job_save_class_init (EvJobSaveClass *class);
-static void ev_job_find_init (EvJobFind *job);
-static void ev_job_find_class_init (EvJobFindClass *class);
-static void ev_job_layers_init (EvJobLayers *job);
-static void ev_job_layers_class_init (EvJobLayersClass *class);
-static void ev_job_export_init (EvJobExport *job);
-static void ev_job_export_class_init (EvJobExportClass *class);
-static void ev_job_print_init (EvJobPrint *job);
-static void ev_job_print_class_init (EvJobPrintClass *class);
-
enum {
CANCELLED,
FINISHED,
diff --git a/libview/ev-pixbuf-cache.c b/libview/ev-pixbuf-cache.c
index d6c75354..3f226041 100644
--- a/libview/ev-pixbuf-cache.c
+++ b/libview/ev-pixbuf-cache.c
@@ -81,8 +81,6 @@ enum
static guint signals[N_SIGNALS] = {0, };
-static void ev_pixbuf_cache_init (EvPixbufCache *pixbuf_cache);
-static void ev_pixbuf_cache_class_init (EvPixbufCacheClass *pixbuf_cache);
static void ev_pixbuf_cache_finalize (GObject *object);
static void ev_pixbuf_cache_dispose (GObject *object);
static void job_finished_cb (EvJob *job,
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 91d14cbf..e3029305 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -210,8 +210,6 @@ static void on_adjustment_value_changed (GtkAdjustment
/*** GObject ***/
static void ev_view_finalize (GObject *object);
static void ev_view_dispose (GObject *object);
-static void ev_view_class_init (EvViewClass *class);
-static void ev_view_init (EvView *view);
/*** Zoom and sizing ***/
static double zoom_for_size_fit_width (gdouble doc_width,
diff --git a/libview/ev-web-view.c b/libview/ev-web-view.c
index 2fc06791..3fa532f4 100644
--- a/libview/ev-web-view.c
+++ b/libview/ev-web-view.c
@@ -81,8 +81,6 @@ static void ev_web_view_page_changed_cb (EvDocumentModel
static void ev_web_view_dispose (GObject *object);
static void ev_web_view_finalize (GObject *object);
-static void ev_web_view_class_init (EvWebViewClass *klass);
-static void ev_web_view_init (EvWebView *webview);
G_DEFINE_TYPE (EvWebView, ev_web_view, WEBKIT_TYPE_WEB_VIEW)