diff options
author | Ed Catmur <ed@catmur.co.uk> | 2006-06-12 17:45:31 +0800 |
---|---|---|
committer | Andre Klapper <aklapper@src.gnome.org> | 2006-06-12 17:45:31 +0800 |
commit | 0161858613166f8b5e43816d9b674426f218c0b4 (patch) | |
tree | 7de04a415d1faf1e54694aadb45720111792c7f1 /widgets/table | |
parent | d9bf027d768ba956b01b9e46da64ee634b61a1cd (diff) | |
download | gsoc2013-evolution-0161858613166f8b5e43816d9b674426f218c0b4.tar gsoc2013-evolution-0161858613166f8b5e43816d9b674426f218c0b4.tar.gz gsoc2013-evolution-0161858613166f8b5e43816d9b674426f218c0b4.tar.bz2 gsoc2013-evolution-0161858613166f8b5e43816d9b674426f218c0b4.tar.lz gsoc2013-evolution-0161858613166f8b5e43816d9b674426f218c0b4.tar.xz gsoc2013-evolution-0161858613166f8b5e43816d9b674426f218c0b4.tar.zst gsoc2013-evolution-0161858613166f8b5e43816d9b674426f218c0b4.zip |
** Fixes bug #343764 now entirely Adding a weak reference to avoid
2006-06-12 Ed Catmur <ed@catmur.co.uk>
** Fixes bug #343764 now entirely
* e-table-header-utils.c: (e_table_header_draw_button):
Adding a weak reference to avoid crashing.
svn path=/trunk/; revision=32109
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/ChangeLog | 6 | ||||
-rw-r--r-- | widgets/table/e-table-header-utils.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog index 35f0a8e4ae..cd063764c3 100644 --- a/widgets/table/ChangeLog +++ b/widgets/table/ChangeLog @@ -1,3 +1,9 @@ +2006-06-12 Ed Catmur <ed@catmur.co.uk> + + ** Fixes bug #343764 now entirely + * e-table-header-utils.c: (e_table_header_draw_button): + Adding a weak reference to avoid crashing. + 2006-06-12 Srinivasa Ragavan <sragavan@novell.com> Committing a fix for sorting in the vertical view. diff --git a/widgets/table/e-table-header-utils.c b/widgets/table/e-table-header-utils.c index 8d452467c6..9eaba9d843 100644 --- a/widgets/table/e-table-header-utils.c +++ b/widgets/table/e-table-header-utils.c @@ -350,6 +350,7 @@ e_table_header_draw_button (GdkDrawable *drawable, ETableCol *ecol, gtk_widget_ensure_style (window); gtk_widget_ensure_style (button); g_label = GTK_BIN(button)->child; + g_object_add_weak_pointer (G_OBJECT (g_label), &g_label); gtk_widget_ensure_style (g_label); } |