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 | |
parent | 510a8c28e84030f102c03bc14d422a174d9c01a5 (diff) | |
download | gsoc2013-evolution-0a8f9771f562beb76dd76ed2a066a66bbf37694d.tar gsoc2013-evolution-0a8f9771f562beb76dd76ed2a066a66bbf37694d.tar.gz gsoc2013-evolution-0a8f9771f562beb76dd76ed2a066a66bbf37694d.tar.bz2 gsoc2013-evolution-0a8f9771f562beb76dd76ed2a066a66bbf37694d.tar.lz gsoc2013-evolution-0a8f9771f562beb76dd76ed2a066a66bbf37694d.tar.xz 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
-rw-r--r-- | widgets/misc/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/misc/e-task-widget.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index f8acc6f208..a286d51d87 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2004-05-20 JP Rosevear <jpr@novell.com> + + * e-task-widget.c (e_task_widget_construct): only unref the mask + if there is one + 2004-05-19 JP Rosevear <jpr@novell.com> * Makefile.am: don't dist the error .h file 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); |