aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-history.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-history.c')
-rw-r--r--shell/e-history.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/e-history.c b/shell/e-history.c
index 78dfdabe51..b9424e0b5a 100644
--- a/shell/e-history.c
+++ b/shell/e-history.c
@@ -40,10 +40,10 @@ struct _EHistoryPrivate {
};
-/* GtkObject methods. */
+/* GObject methods. */
static void
-impl_destroy (GtkObject *object)
+impl_finalize (GObject *object)
{
EHistory *history;
EHistoryPrivate *priv;
@@ -59,16 +59,16 @@ impl_destroy (GtkObject *object)
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