aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-storage-set-view-listener.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/evolution-storage-set-view-listener.c')
-rw-r--r--shell/evolution-storage-set-view-listener.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/shell/evolution-storage-set-view-listener.c b/shell/evolution-storage-set-view-listener.c
index 9d21f2c23b..e7a3a85556 100644
--- a/shell/evolution-storage-set-view-listener.c
+++ b/shell/evolution-storage-set-view-listener.c
@@ -134,8 +134,10 @@ activate_servant (EvolutionStorageSetViewListener *listener,
}
+/* GObject methods. */
+
static void
-impl_destroy (GtkObject *object)
+impl_finalize (GObject *object)
{
EvolutionStorageSetViewListener *listener;
EvolutionStorageSetViewListenerPrivate *priv;
@@ -163,8 +165,7 @@ impl_destroy (GtkObject *object)
g_free (priv);
- if (GTK_OBJECT_CLASS (parent_class)->destroy != NULL)
- (* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
+ (* G_OBJECT_CLASS (parent_class)->finalize) (object);
}
@@ -192,10 +193,10 @@ corba_class_init (void)
static void
class_init (EvolutionStorageSetViewListenerClass *klass)
{
- GtkObjectClass *object_class;
+ GObjectClass *object_class;
- object_class = GTK_OBJECT_CLASS (klass);
- object_class->destroy = impl_destroy;
+ object_class = G_OBJECT_CLASS (klass);
+ object_class->finalize = impl_finalize;
parent_class = gtk_type_class (gtk_object_get_type ());