diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/e-table/ChangeLog | 6 | ||||
-rw-r--r-- | widgets/e-table/e-table-col.c | 1 | ||||
-rw-r--r-- | widgets/table/e-table-col.c | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index 3ed28532a8..065671f853 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,3 +1,9 @@ +2000-04-09 Matt Loper <matt@helixcode.com> + + * e-table-col.c (e_table_col_new_with_pixbuf): ref etc->ecell, + like in e_table_col_new, since that same ECell is unref'd in + etc_destroy(). + 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Separated some functions into an xml bit and a diff --git a/widgets/e-table/e-table-col.c b/widgets/e-table/e-table-col.c index 4e94a33279..19f6bb1747 100644 --- a/widgets/e-table/e-table-col.c +++ b/widgets/e-table/e-table-col.c @@ -102,6 +102,7 @@ e_table_col_new_with_pixbuf (int col_idx, GdkPixbuf *pixbuf, int width, int min_ etc->selected = 0; etc->resizeable = resizable; + gtk_object_ref (etc->ecell); gdk_pixbuf_ref (etc->pixbuf); return etc; diff --git a/widgets/table/e-table-col.c b/widgets/table/e-table-col.c index 4e94a33279..19f6bb1747 100644 --- a/widgets/table/e-table-col.c +++ b/widgets/table/e-table-col.c @@ -102,6 +102,7 @@ e_table_col_new_with_pixbuf (int col_idx, GdkPixbuf *pixbuf, int width, int min_ etc->selected = 0; etc->resizeable = resizable; + gtk_object_ref (etc->ecell); gdk_pixbuf_ref (etc->pixbuf); return etc; |