aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog7
-rw-r--r--e-util/e-component-listener.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 6fbc641f9a..1ea8456bbd 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,10 @@
+2002-09-23 Rodrigo Moya <rodrigo@ximian.com>
+
+ * e-component-listener.c (ping_component_callback): gtk_object_ref the
+ component listener before emitting the "component_died" signal, since
+ in most cases, the component listener will be destroyed in the
+ callbacks for that signal.
+
2002-09-22 Dan Winship <danw@ximian.com>
* e-config-listener.c: Fix some non-ANSI switch statements
diff --git a/e-util/e-component-listener.c b/e-util/e-component-listener.c
index d58f44e577..9e5ff77ef1 100644
--- a/e-util/e-component-listener.c
+++ b/e-util/e-component-listener.c
@@ -143,11 +143,14 @@ ping_component_callback (gpointer user_data)
out:
/* the component has died, so we notify and close the timeout */
+ gtk_object_ref (GTK_OBJECT (cl));
gtk_signal_emit (GTK_OBJECT (cl), comp_listener_signals[COMPONENT_DIED]);
cl->priv->component = CORBA_OBJECT_NIL;
cl->priv->ping_timeout_id = -1;
+ gtk_object_unref (GTK_OBJECT (cl));
+
return FALSE;
}
>1-2/+2 * Update to tin 2.2.1johans2014-05-041-2/+2 * - Update tin to 2.2.0johans2013-12-281-2/+2 * Update to tin 2.0.1johans2011-12-291-2/+2 * Update tin to 1.9.6johans2011-07-091-2/+2 * Port cleanupjohans2011-03-131-1/+0 * Update to 1.8.3ache2007-02-111-3/+3 * Upgrade to 1.8.2ache2006-05-271-3/+3 * Upgrade to 1.8.1ache2006-03-161-3/+3 * Upgrade to 1.8.0ache2006-01-061-2/+3 * Upgrade to 1.7.10ache2005-10-181-2/+2 * Upgrade to 1.7.9ache2005-10-051-2/+2 * Upgrade to 1.7.8ache2005-06-011-2/+2 * Upgrade to 1.7.7ache2005-03-111-2/+2 * Add size data, approved by maintainers.trevor2004-03-211-0/+1 * Upgrade to 1.6.2ache2003-10-041-1/+1 * Upgrade to 1.6.1ache2003-08-161-1/+1 * Update to version 1.6.0.demon2003-07-161-1/+1 * Upgrade to 1.5.18ache2003-06-041-1/+1 * Update to version 1.5.17.demon2003-05-091-1/+1 * Back out previous commit. It is incorrect and not approved.ache2003-03-051-1/+1 * According to http://www.freebsd.org/cgi/cvsweb.cgi/ports/news/tin/distinfo,edwin2003-02-231-1/+1 * Return from 1.5.17 (snapshot) to 1.5.16 (stable)ache2003-02-081-1/+1 * Upgrade to 1.5.17 due to 1.5.16 distfile being rm'ed from master site.obrien2003-02-081-1/+1 * Upgrade to 20030122 snapshotache2003-01-231-1/+1 * Upgrade to 20030113 snapshotache2003-01-141-1/+1