aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-col.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table/e-table-col.c')
-rw-r--r--widgets/e-table/e-table-col.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/e-table/e-table-col.c b/widgets/e-table/e-table-col.c
index e2e12caf63..457830843d 100644
--- a/widgets/e-table/e-table-col.c
+++ b/widgets/e-table/e-table-col.c
@@ -22,6 +22,8 @@ etc_destroy (GtkObject *object)
{
ETableCol *etc = E_TABLE_COL (object);
+ gtk_object_unref( GTK_OBJECT(etc->ecell) );
+
if ( etc->is_pixbuf )
gdk_pixbuf_unref( etc->pixbuf );
else
@@ -67,6 +69,8 @@ e_table_col_new (int col_idx, const char *text, int width, int min_width,
etc->selected = 0;
etc->resizeable = resizable;
+ gtk_object_ref(GTK_OBJECT(etc->ecell));
+
return etc;
}