diff options
Diffstat (limited to 'shell/e-uri-schema-registry.c')
-rw-r--r-- | shell/e-uri-schema-registry.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/e-uri-schema-registry.c b/shell/e-uri-schema-registry.c index f288bf16f3..650efa2908 100644 --- a/shell/e-uri-schema-registry.c +++ b/shell/e-uri-schema-registry.c @@ -82,7 +82,7 @@ schema_to_handler_destroy_foreach_callback (void *key, /* GtkObject methods. */ static void -impl_destroy (GtkObject *object) +impl_finalize (GObject *object) { EUriSchemaRegistry *registry; EUriSchemaRegistryPrivate *priv; @@ -94,16 +94,16 @@ impl_destroy (GtkObject *object) g_hash_table_destroy (priv->schema_to_handler); g_free (priv); - (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); + (* G_OBJECT_CLASS (parent_class)->finalize) (object); } static void -class_init (GtkObjectClass *object_class) +class_init (GObjectClass *object_class) { parent_class = gtk_type_class (PARENT_TYPE); - object_class->destroy = impl_destroy; + object_class->finalize = impl_finalize; } static void |