diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-09-06 13:15:38 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-09-06 17:11:34 -0400 |
commit | 9ebebd48b00092446cdbeee03b49f149725c9868 (patch) | |
tree | c71d27144b056008267bbf2573812e641a60bb0c /gtk | |
parent | d92a02f7a40c83417a32d91aba7c0e2033246099 (diff) | |
download | gtk+-9ebebd48b00092446cdbeee03b49f149725c9868.tar.gz |
print backend: Remove an unneeded variable
The G_DEFINE_TYPE macros automate the parent_class handling.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkprintbackend.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c index 8ec6dbc99b..99250cc1eb 100644 --- a/gtk/gtkprintbackend.c +++ b/gtk/gtkprintbackend.c @@ -68,8 +68,6 @@ enum PROP_STATUS }; -static GObjectClass *backend_parent_class; - GQuark gtk_print_backend_error_quark (void) { @@ -367,8 +365,6 @@ gtk_print_backend_class_init (GtkPrintBackendClass *class) GObjectClass *object_class; object_class = (GObjectClass *) class; - backend_parent_class = g_type_class_peek_parent (class); - object_class->dispose = gtk_print_backend_dispose; object_class->set_property = gtk_print_backend_set_property; object_class->get_property = gtk_print_backend_get_property; @@ -473,7 +469,7 @@ gtk_print_backend_dispose (GObject *object) priv->printers = NULL; } - backend_parent_class->dispose (object); + G_OBJECT_CLASS (_gtk_print_backend_module_parent_class)->dispose (object); } |