aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
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);