From 2880ebaf5c5d7450d2c832889323f4d838b2567c Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 29 Apr 2004 19:08:42 +0000 Subject: pass the correct data when weak unreffing 2004-04-29 JP Rosevear * e-activity-handler.c (impl_dispose): pass the correct data when weak unreffing svn path=/trunk/; revision=25691 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-activity-handler.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'widgets/misc') diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index ef2eab1918..e298bcde55 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2004-04-29 JP Rosevear + + * e-activity-handler.c (impl_dispose): pass the correct data when + weak unreffing + 2004-04-29 Not Zed * e-error.c (e_error_newv): make the label selectable. diff --git a/widgets/misc/e-activity-handler.c b/widgets/misc/e-activity-handler.c index d64bcd8f6e..fd5fb9a275 100644 --- a/widgets/misc/e-activity-handler.c +++ b/widgets/misc/e-activity-handler.c @@ -227,7 +227,7 @@ impl_dispose (GObject *object) priv->activity_infos = NULL; for (sp = priv->task_bars; sp != NULL; sp = sp->next) - g_object_weak_unref (G_OBJECT (sp->data), task_bar_destroy_notify, sp->data); + g_object_weak_unref (G_OBJECT (sp->data), task_bar_destroy_notify, handler); priv->task_bars = NULL; (* G_OBJECT_CLASS (parent_class)->dispose) (object); -- cgit v1.2.3