diff options
author | Pablo Barciela <[email protected]> | 2019-11-11 09:27:38 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-11-28 01:03:04 +0100 |
commit | 0fc51a2c8daff96ed2535ed318dc4d737b34845c (patch) | |
tree | 248e5027a9cf0b33d030f072a36ea48cd1834c1f | |
parent | 8a85c86a88a517ec52c4a14d1f41e23b975a60dc (diff) | |
download | atril-0fc51a2c8daff96ed2535ed318dc4d737b34845c.tar.bz2 atril-0fc51a2c8daff96ed2535ed318dc4d737b34845c.tar.xz |
avoid redundant redeclarations
-rw-r--r-- | cut-n-paste/smclient/eggsmclient.c | 2 | ||||
-rw-r--r-- | cut-n-paste/toolbar-editor/egg-toolbars-model.h | 1 | ||||
-rw-r--r-- | cut-n-paste/zoom-control/ephy-zoom-action.c | 4 | ||||
-rw-r--r-- | libdocument/ev-annotation.c | 1 | ||||
-rw-r--r-- | libdocument/ev-form-field.c | 11 | ||||
-rw-r--r-- | libdocument/ev-module.c | 3 | ||||
-rw-r--r-- | libdocument/ev-render-context.c | 4 | ||||
-rw-r--r-- | libmisc/ev-page-action-widget.c | 4 | ||||
-rw-r--r-- | libmisc/ev-page-action.c | 4 | ||||
-rw-r--r-- | libview/ev-jobs.c | 27 | ||||
-rw-r--r-- | libview/ev-pixbuf-cache.c | 2 | ||||
-rw-r--r-- | libview/ev-view.c | 2 | ||||
-rw-r--r-- | libview/ev-web-view.c | 2 | ||||
-rw-r--r-- | shell/eggfindbar.c | 1 | ||||
-rw-r--r-- | shell/ev-history.c | 3 | ||||
-rw-r--r-- | shell/ev-navigation-action-widget.c | 2 | ||||
-rw-r--r-- | shell/ev-navigation-action.c | 3 | ||||
-rw-r--r-- | shell/ev-open-recent-action.c | 3 |
18 files changed, 0 insertions, 79 deletions
diff --git a/cut-n-paste/smclient/eggsmclient.c b/cut-n-paste/smclient/eggsmclient.c index 0691ee5b..78bd81a0 100644 --- a/cut-n-paste/smclient/eggsmclient.c +++ b/cut-n-paste/smclient/eggsmclient.c @@ -25,8 +25,6 @@ #include "eggsmclient.h" #include "eggsmclient-private.h" -EggSMClient *egg_sm_client_xsmp_new (void); - static void egg_sm_client_debug_handler (const char *log_domain, GLogLevelFlags log_level, const char *message, diff --git a/cut-n-paste/toolbar-editor/egg-toolbars-model.h b/cut-n-paste/toolbar-editor/egg-toolbars-model.h index 0c1a571c..839ce3c3 100644 --- a/cut-n-paste/toolbar-editor/egg-toolbars-model.h +++ b/cut-n-paste/toolbar-editor/egg-toolbars-model.h @@ -111,7 +111,6 @@ struct EggToolbarsItemType const char *data); }; -GType egg_tb_model_flags_get_type (void); GType egg_toolbars_model_get_type (void); EggToolbarsModel *egg_toolbars_model_new (void); gboolean egg_toolbars_model_load_names (EggToolbarsModel *model, diff --git a/cut-n-paste/zoom-control/ephy-zoom-action.c b/cut-n-paste/zoom-control/ephy-zoom-action.c index be7fd4bc..f2905d3d 100644 --- a/cut-n-paste/zoom-control/ephy-zoom-action.c +++ b/cut-n-paste/zoom-control/ephy-zoom-action.c @@ -46,10 +46,6 @@ enum PROP_MAX_ZOOM }; - -static void ephy_zoom_action_init (EphyZoomAction *action); -static void ephy_zoom_action_class_init (EphyZoomActionClass *class); - enum { ZOOM_TO_LEVEL_SIGNAL, diff --git a/libdocument/ev-annotation.c b/libdocument/ev-annotation.c index 200933f9..41bd4249 100644 --- a/libdocument/ev-annotation.c +++ b/libdocument/ev-annotation.c @@ -66,7 +66,6 @@ struct _EvAnnotationAttachmentClass { EvAnnotationClass parent_class; }; -static void ev_annotation_markup_default_init (EvAnnotationMarkupInterface *iface); static void ev_annotation_text_markup_iface_init (EvAnnotationMarkupInterface *iface); static void ev_annotation_attachment_markup_iface_init (EvAnnotationMarkupInterface *iface); diff --git a/libdocument/ev-form-field.c b/libdocument/ev-form-field.c index e2739e79..d9af1a3e 100644 --- a/libdocument/ev-form-field.c +++ b/libdocument/ev-form-field.c @@ -22,17 +22,6 @@ #include <config.h> #include "ev-form-field.h" -static void ev_form_field_init (EvFormField *field); -static void ev_form_field_class_init (EvFormFieldClass *klass); -static void ev_form_field_text_init (EvFormFieldText *field_text); -static void ev_form_field_text_class_init (EvFormFieldTextClass *klass); -static void ev_form_field_button_init (EvFormFieldButton *field_button); -static void ev_form_field_button_class_init (EvFormFieldButtonClass *klass); -static void ev_form_field_choice_init (EvFormFieldChoice *field_choice); -static void ev_form_field_choice_class_init (EvFormFieldChoiceClass *klass); -static void ev_form_field_signature_init (EvFormFieldSignature *field_choice); -static void ev_form_field_signature_class_init (EvFormFieldSignatureClass *klass); - G_DEFINE_ABSTRACT_TYPE (EvFormField, ev_form_field, G_TYPE_OBJECT) G_DEFINE_TYPE (EvFormFieldText, ev_form_field_text, EV_TYPE_FORM_FIELD) G_DEFINE_TYPE (EvFormFieldButton, ev_form_field_button, EV_TYPE_FORM_FIELD) diff --git a/libdocument/ev-module.c b/libdocument/ev-module.c index 9512c1ff..10c91c95 100644 --- a/libdocument/ev-module.c +++ b/libdocument/ev-module.c @@ -62,9 +62,6 @@ struct _EvModule { typedef GType (*EvModuleRegisterFunc) (GTypeModule *); -static void ev_module_init (EvModule *action); -static void ev_module_class_init (EvModuleClass *class); - G_DEFINE_TYPE (EvModule, ev_module, G_TYPE_TYPE_MODULE) static gboolean diff --git a/libdocument/ev-render-context.c b/libdocument/ev-render-context.c index 9e731ee7..bb74cc09 100644 --- a/libdocument/ev-render-context.c +++ b/libdocument/ev-render-context.c @@ -20,10 +20,6 @@ #include <config.h> #include "ev-render-context.h" -static void ev_render_context_init (EvRenderContext *rc); -static void ev_render_context_class_init (EvRenderContextClass *class); - - G_DEFINE_TYPE (EvRenderContext, ev_render_context, G_TYPE_OBJECT); static void ev_render_context_init (EvRenderContext *rc) { /* Do Nothing */ } diff --git a/libmisc/ev-page-action-widget.c b/libmisc/ev-page-action-widget.c index e19b509a..cf3b6a6a 100644 --- a/libmisc/ev-page-action-widget.c +++ b/libmisc/ev-page-action-widget.c @@ -28,10 +28,6 @@ #include "ev-page-action.h" #include "ev-page-action-widget.h" -/* Widget we pass back */ -static void ev_page_action_widget_init (EvPageActionWidget *action_widget); -static void ev_page_action_widget_class_init (EvPageActionWidgetClass *action_widget); - enum { WIDGET_ACTIVATE_LINK, diff --git a/libmisc/ev-page-action.c b/libmisc/ev-page-action.c index 362cb42e..fc7d61c1 100644 --- a/libmisc/ev-page-action.c +++ b/libmisc/ev-page-action.c @@ -37,10 +37,6 @@ struct _EvPageActionPrivate GtkTreeModel *model; }; - -static void ev_page_action_init (EvPageAction *action); -static void ev_page_action_class_init (EvPageActionClass *class); - enum { ACTIVATE_LINK, 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) diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c index b5a54403..438c5dc7 100644 --- a/shell/eggfindbar.c +++ b/shell/eggfindbar.c @@ -60,7 +60,6 @@ static void egg_find_bar_set_property (GObject *object, GParamSpec *pspec); static void egg_find_bar_show (GtkWidget *widget); static void egg_find_bar_hide (GtkWidget *widget); -void egg_find_bar_grab_focus (GtkWidget *widget); G_DEFINE_TYPE_WITH_PRIVATE (EggFindBar, egg_find_bar, GTK_TYPE_TOOLBAR); diff --git a/shell/ev-history.c b/shell/ev-history.c index 55fff29f..940c66f9 100644 --- a/shell/ev-history.c +++ b/shell/ev-history.c @@ -38,9 +38,6 @@ struct _EvHistoryPrivate GList *links; }; -static void ev_history_init (EvHistory *history); -static void ev_history_class_init (EvHistoryClass *class); - G_DEFINE_TYPE_WITH_PRIVATE (EvHistory, ev_history, G_TYPE_OBJECT) static void diff --git a/shell/ev-navigation-action-widget.c b/shell/ev-navigation-action-widget.c index 758cc820..2230ae52 100644 --- a/shell/ev-navigation-action-widget.c +++ b/shell/ev-navigation-action-widget.c @@ -23,8 +23,6 @@ #include <glib/gi18n.h> #include <string.h> -static void ev_navigation_action_widget_init (EvNavigationActionWidget *action_widget); -static void ev_navigation_action_widget_class_init (EvNavigationActionWidgetClass *action_widget); static void ev_navigation_action_widget_toggled (GtkToggleToolButton *toggle); static gboolean ev_navigation_action_widget_button_press_event (GtkWidget *widget, GdkEventButton *event, diff --git a/shell/ev-navigation-action.c b/shell/ev-navigation-action.c index 4ec3d849..57b4c463 100644 --- a/shell/ev-navigation-action.c +++ b/shell/ev-navigation-action.c @@ -40,9 +40,6 @@ struct _EvNavigationActionPrivate EvHistory *history; }; -static void ev_navigation_action_init (EvNavigationAction *action); -static void ev_navigation_action_class_init (EvNavigationActionClass *class); - G_GNUC_BEGIN_IGNORE_DEPRECATIONS; G_DEFINE_TYPE_WITH_PRIVATE (EvNavigationAction, ev_navigation_action, GTK_TYPE_ACTION) G_GNUC_END_IGNORE_DEPRECATIONS; diff --git a/shell/ev-open-recent-action.c b/shell/ev-open-recent-action.c index c4b2c8fe..0c1a21dc 100644 --- a/shell/ev-open-recent-action.c +++ b/shell/ev-open-recent-action.c @@ -30,9 +30,6 @@ enum { N_SIGNALS }; -static void ev_open_recent_action_init (EvOpenRecentAction *action); -static void ev_open_recent_action_class_init (EvOpenRecentActionClass *class); - static guint action_signals[N_SIGNALS] = { 0 }; G_GNUC_BEGIN_IGNORE_DEPRECATIONS; |