diff options
author | JP Rosevear <jpr@ximian.com> | 2004-04-30 03:08:42 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-04-30 03:08:42 +0800 |
commit | 2880ebaf5c5d7450d2c832889323f4d838b2567c (patch) | |
tree | 91713c0b8d3d4e18098e907e9b8e40eb03dd3602 | |
parent | f08916fe9301c6afd2931bef0c0e666dd1fda928 (diff) | |
download | gsoc2013-evolution-2880ebaf5c5d7450d2c832889323f4d838b2567c.tar gsoc2013-evolution-2880ebaf5c5d7450d2c832889323f4d838b2567c.tar.gz gsoc2013-evolution-2880ebaf5c5d7450d2c832889323f4d838b2567c.tar.bz2 gsoc2013-evolution-2880ebaf5c5d7450d2c832889323f4d838b2567c.tar.lz gsoc2013-evolution-2880ebaf5c5d7450d2c832889323f4d838b2567c.tar.xz gsoc2013-evolution-2880ebaf5c5d7450d2c832889323f4d838b2567c.tar.zst gsoc2013-evolution-2880ebaf5c5d7450d2c832889323f4d838b2567c.zip |
pass the correct data when weak unreffing
2004-04-29 JP Rosevear <jpr@ximian.com>
* e-activity-handler.c (impl_dispose): pass the correct data when
weak unreffing
svn path=/trunk/; revision=25691
-rw-r--r-- | widgets/misc/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/misc/e-activity-handler.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <jpr@ximian.com> + + * e-activity-handler.c (impl_dispose): pass the correct data when + weak unreffing + 2004-04-29 Not Zed <NotZed@Ximian.com> * 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); |