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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-component-listener.c b/e-util/e-component-listener.c
index 9e5ff77ef1..ab8c26e791 100644
--- a/e-util/e-component-listener.c
+++ b/e-util/e-component-listener.c
@@ -143,6 +143,8 @@ ping_component_callback (gpointer user_data)
out:
/* the component has died, so we notify and close the timeout */
+
+ /* we ref the object just in case it gets destroyed in the callbacks */
gtk_object_ref (GTK_OBJECT (cl));
gtk_signal_emit (GTK_OBJECT (cl), comp_listener_signals[COMPONENT_DIED]);