diff options
author | JP Rosevear <jpr@novell.com> | 2004-05-21 02:38:52 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-05-21 02:38:52 +0800 |
commit | 0a8f9771f562beb76dd76ed2a066a66bbf37694d (patch) | |
tree | 9519aa281dc24db3a1d4b5cbb94fb1effb6e3879 /widgets/misc/e-task-widget.c | |
parent | 510a8c28e84030f102c03bc14d422a174d9c01a5 (diff) | |
download | gsoc2013-evolution-0a8f9771f562beb76dd76ed2a066a66bbf37694d.tar.gz gsoc2013-evolution-0a8f9771f562beb76dd76ed2a066a66bbf37694d.tar.zst gsoc2013-evolution-0a8f9771f562beb76dd76ed2a066a66bbf37694d.zip |
only unref the mask if there is one
2004-05-20 JP Rosevear <jpr@novell.com>
* e-task-widget.c (e_task_widget_construct): only unref the mask
if there is one
svn path=/trunk/; revision=26016
Diffstat (limited to 'widgets/misc/e-task-widget.c')
-rw-r--r-- | widgets/misc/e-task-widget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/misc/e-task-widget.c b/widgets/misc/e-task-widget.c index 8a65d42f29..ab610f77f9 100644 --- a/widgets/misc/e-task-widget.c +++ b/widgets/misc/e-task-widget.c @@ -167,7 +167,8 @@ e_task_widget_construct (ETaskWidget *task_widget, gtk_box_pack_start (GTK_BOX (box), priv->label, TRUE, TRUE, 0); gdk_pixmap_unref (pixmap); - gdk_bitmap_unref (mask); + if (mask) + gdk_bitmap_unref (mask); priv->tooltips = gtk_tooltips_new (); g_object_ref (priv->tooltips); |