From afcb9c0e63313d3862632318f7f5e9165e5d65ef Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 8 Aug 2020 14:19:14 +0100 Subject: [PATCH] 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 --- 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,