aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2004-05-21 02:38:52 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-05-21 02:38:52 +0800
commit0a8f9771f562beb76dd76ed2a066a66bbf37694d (patch)
tree9519aa281dc24db3a1d4b5cbb94fb1effb6e3879 /widgets
parent510a8c28e84030f102c03bc14d422a174d9c01a5 (diff)
downloadgsoc2013-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')
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-task-widget.c3
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);