aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-component-listener.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-component-listener.c')
-rw-r--r--e-util/e-component-listener.c3
1 files changed, 3 insertions, 0 deletions
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;
}