diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-12 01:23:00 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-12 01:23:00 +0800 |
commit | f2b2d6abb5f56436fcb06a62d73a728b4eda462b (patch) | |
tree | fe25f751b04a348fab9b81d8c24bbc97de21c48f /widgets/misc/e-config-page.c | |
parent | c55ddc508dd4c9b558777f99604050f60b6158d3 (diff) | |
download | gsoc2013-evolution-f2b2d6abb5f56436fcb06a62d73a728b4eda462b.tar.gz gsoc2013-evolution-f2b2d6abb5f56436fcb06a62d73a728b4eda462b.tar.zst gsoc2013-evolution-f2b2d6abb5f56436fcb06a62d73a728b4eda462b.zip |
Removed. (impl_finalize): New. (class_init): Override GObject::finalize,
* e-multi-config-dialog.c (impl_destroy): Removed.
(impl_finalize): New.
(class_init): Override GObject::finalize, not GtkObject::destroy.
* e-config-page.c (impl_destroy): Removed.
(impl_finalize): New.
(class_init): Override GObject::finalize, not GtkObject::destroy.
* e-multi-config-dialog.c: Converted to a GtkDialog subclass
[instead of GnomeDialog].
svn path=/trunk/; revision=18696
Diffstat (limited to 'widgets/misc/e-config-page.c')
-rw-r--r-- | widgets/misc/e-config-page.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/widgets/misc/e-config-page.c b/widgets/misc/e-config-page.c index d6f74a0d14..3bd2f8257b 100644 --- a/widgets/misc/e-config-page.c +++ b/widgets/misc/e-config-page.c @@ -45,10 +45,10 @@ struct _EConfigPagePrivate { }; -/* GtkObject methods. */ +/* GObject methods. */ static void -impl_destroy (GtkObject *object) +impl_finalize (GObject *object) { EConfigPage *page; EConfigPagePrivate *priv; @@ -58,17 +58,17 @@ 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 (EConfigPageClass *class) { - GtkObjectClass *object_class; + GObjectClass *object_class; - object_class = GTK_OBJECT_CLASS (class); - object_class->destroy = impl_destroy; + object_class = G_OBJECT_CLASS (class); + object_class->finalize = impl_finalize; parent_class = gtk_type_class (PARENT_TYPE); |