aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-column.c
diff options
context:
space:
mode:
authorMike Kestner <mkestner@src.gnome.org>2002-11-01 05:30:57 +0800
committerMike Kestner <mkestner@src.gnome.org>2002-11-01 05:30:57 +0800
commit613453b1095e325149b8d37e5731d415e1d5f9bd (patch)
tree1c0d7f9be4d4a87aa67d8e185ae2bb23d02254b7 /widgets/table/e-table-column.c
parentec242d6c30d7bf056c8f59710b8576c942f93583 (diff)
downloadgsoc2013-evolution-613453b1095e325149b8d37e5731d415e1d5f9bd.tar.gz
gsoc2013-evolution-613453b1095e325149b8d37e5731d415e1d5f9bd.tar.zst
gsoc2013-evolution-613453b1095e325149b8d37e5731d415e1d5f9bd.zip
merging the gal-2 branch back to the trunk.
merging the gal-2 branch back to the trunk. svn path=/trunk/; revision=18471
Diffstat (limited to 'widgets/table/e-table-column.c')
-rw-r--r--widgets/table/e-table-column.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/widgets/table/e-table-column.c b/widgets/table/e-table-column.c
index 2736a4381b..6d8f1c3aef 100644
--- a/widgets/table/e-table-column.c
+++ b/widgets/table/e-table-column.c
@@ -1,5 +1,5 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/*
+/*
* e-table-column.c
* Copyright 2000, 2001, Ximian, Inc.
*
@@ -35,7 +35,7 @@ static guint etc_signals [LAST_SIGNAL] = { 0, };
static GtkObjectClass *e_table_column_parent_class;
static void
-e_table_column_destroy (GtkObject *object)
+e_table_column_finalize (GObject *object)
{
ETableColumn *etc = E_TABLE_COLUMN (object);
const int cols = etc->col_count;
@@ -54,14 +54,13 @@ e_table_column_destroy (GtkObject *object)
for (i = 0; i < cols; i++)
e_table_column_remove (etc, i);
- if (e_table_column_parent_class->destroy)
- e_table_column_parent_class->destroy (object);
+ G_OBJECT_CLASS (e_table_column_parent_class)->finalize (object);
}
static void
e_table_column_class_init (GtkObjectClass *object_class)
{
- object_class->destroy = e_table_column_destroy;
+ G_OBJECT_CLASS (object_class)->finalize = e_table_column_finalize;
e_table_column_parent_class = (gtk_type_class (gtk_object_get_type ()));