aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-01-08 05:27:06 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-01-08 05:27:06 +0800
commit19f1e3fe20c29690aaf07d26e81760405cc577df (patch)
tree76d78a49c48debc47b6204412a73470c781875a7 /widgets/table
parent8d8e4ac1c23905892a42b779188c852fdead7f5f (diff)
downloadgsoc2013-evolution-19f1e3fe20c29690aaf07d26e81760405cc577df.tar.gz
gsoc2013-evolution-19f1e3fe20c29690aaf07d26e81760405cc577df.tar.zst
gsoc2013-evolution-19f1e3fe20c29690aaf07d26e81760405cc577df.zip
Fix some miscellaneous mailer bugs.
svn path=/branches/kill-bonobo/; revision=37011
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-header-item.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index 7ffb1776ae..a7da9e2fe1 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -913,7 +913,10 @@ ethi_unrealize (GnomeCanvasItem *item)
{
ETableHeaderItem *ethi = E_TABLE_HEADER_ITEM (item);
- pango_font_description_free (ethi->font_desc);
+ if (ethi->font_desc != NULL) {
+ pango_font_description_free (ethi->font_desc);
+ ethi->font_desc = NULL;
+ }
g_signal_handler_disconnect (item->canvas, ethi->drag_motion_id);
g_signal_handler_disconnect (item->canvas, ethi->drag_leave_id);