[gtk/wip/smcv/cloudprint-redundant-decls] cloudprint: Fix redundant declarations
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/smcv/cloudprint-redundant-decls] cloudprint: Fix redundant declarations
- Date: Sat, 8 Aug 2020 13:24:44 +0000 (UTC)
commit afcb9c0e63313d3862632318f7f5e9165e5d65ef
Author: Simon McVittie <smcv debian org>
Date: Sat Aug 8 14:19:14 2020 +0100
cloudprint: Fix redundant declarations
G_DEFINE_DYNAMIC_TYPE declares these functions as static, and
-Werror=redundant-decls won't let us redeclare them. This is the
equivalent of 72c72d0b, but for a different backend.
Signed-off-by: Simon McVittie <smcv debian org>
modules/printbackends/gtkprintbackendcloudprint.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/modules/printbackends/gtkprintbackendcloudprint.c
b/modules/printbackends/gtkprintbackendcloudprint.c
index f99bcca2be..f347fc4339 100644
--- a/modules/printbackends/gtkprintbackendcloudprint.c
+++ b/modules/printbackends/gtkprintbackendcloudprint.c
@@ -71,8 +71,6 @@ struct
} typedef TGOAAccount;
static GObjectClass *backend_parent_class;
-static void gtk_print_backend_cloudprint_class_init (GtkPrintBackendCloudprintClass
*class);
-static void gtk_print_backend_cloudprint_init (GtkPrintBackendCloudprint
*impl);
static void gtk_print_backend_cloudprint_finalize (GObject *object);
static void cloudprint_printer_get_settings_from_options (GtkPrinter *printer,
GtkPrinterOptionSet *options,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]