aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-activity-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/evolution-activity-client.c')
-rw-r--r--shell/evolution-activity-client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/evolution-activity-client.c b/shell/evolution-activity-client.c
index 1bb74f6dda..60e9f949d9 100644
--- a/shell/evolution-activity-client.c
+++ b/shell/evolution-activity-client.c
@@ -190,8 +190,10 @@ update_timeout_callback (void *data)
if (priv->have_pending_update) {
corba_update_progress (activity_client, priv->new_information, priv->new_progress);
+ priv->have_pending_update = FALSE;
return TRUE;
} else {
+ priv->next_update_timeout_id = 0;
return FALSE;
}
}
@@ -247,7 +249,7 @@ impl_destroy (GtkObject *object)
CORBA_exception_free (&ev);
if (priv->next_update_timeout_id != 0)
- gtk_timeout_remove (priv->next_update_timeout_id);
+ g_source_remove (priv->next_update_timeout_id);
g_free (priv->new_information);