summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-02-19 02:08:02 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2018-02-19 02:08:02 +0000
commit8f273d5e02f2ece3e06f4223f812c8bb6ff67b8a (patch)
tree941140735b398cd2f5d3f3f87a7fb67b7c810c50 /modules
parent96f6f218efd56deab6ad02c00a3ad8997c231317 (diff)
downloadgtk+-8f273d5e02f2ece3e06f4223f812c8bb6ff67b8a.tar.gz
Fix the build in the Cloudprint print backend
Typos and re-declared functions.
Diffstat (limited to 'modules')
-rw-r--r--modules/printbackends/cloudprint/gtkprintbackendcloudprint.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/modules/printbackends/cloudprint/gtkprintbackendcloudprint.c b/modules/printbackends/cloudprint/gtkprintbackendcloudprint.c
index 8fc3352b3c..b5560343a2 100644
--- a/modules/printbackends/cloudprint/gtkprintbackendcloudprint.c
+++ b/modules/printbackends/cloudprint/gtkprintbackendcloudprint.c
@@ -51,8 +51,6 @@ typedef struct _GtkPrintBackendCloudprintClass GtkPrintBackendCloudprintClass;
#define ONLINE_ACCOUNTS_PATH "/org/gnome/OnlineAccounts"
#define OBJECT_MANAGER_IFACE "org.freedesktop.DBus.ObjectManager"
-static GType print_backend_cloudprint_type = 0;
-
struct _GtkPrintBackendCloudprintClass
{
GtkPrintBackendClass parent_class;
@@ -103,7 +101,7 @@ static void cloudprint_printer_request_details (GtkPri
TGOAAccount * t_goa_account_copy (TGOAAccount *account);
void t_goa_account_free (gpointer data);
-GG_DEFINE_DYNAMIC_TYPE(GtkPrintBackendCloudprint, gtk_print_backend_cloudprint, GTK_TYPE_PRINT_BACKEND)
+G_DEFINE_DYNAMIC_TYPE (GtkPrintBackendCloudprint, gtk_print_backend_cloudprint, GTK_TYPE_PRINT_BACKEND)
void
g_io_module_load (GIOModule *module)
@@ -136,15 +134,6 @@ g_io_module_query (void)
return g_strdupv (eps);
}
-/*
- * GtkPrintBackendCloudprint
- */
-GType
-gtk_print_backend_cloudprint_get_type (void)
-{
- return print_backend_cloudprint_type;
-}
-
/**
* gtk_print_backend_cloudprint_new:
*