aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/evolution-activity-client.c8
2 files changed, 13 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index de742e8343..ee20a48b27 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-07 Ettore Perazzoli <ettore@ximian.com>
+
+ * evolution-activity-client.c
+ (evolution_activity_client_construct): Free the CORBA version of
+ the animated icon.
+
2001-08-07 Not Zed <NotZed@Ximian.com>
* evolution-activity-client.c (impl_destroy): Unref the listener
diff --git a/shell/evolution-activity-client.c b/shell/evolution-activity-client.c
index d7805d6583..eb233728f3 100644
--- a/shell/evolution-activity-client.c
+++ b/shell/evolution-activity-client.c
@@ -323,6 +323,7 @@ evolution_activity_client_construct (EvolutionActivityClient *activity_client,
GNOME_Evolution_Activity activity_interface;
CORBA_Environment ev;
CORBA_boolean suggest_display;
+ GNOME_Evolution_AnimatedIcon *corba_animated_icon;
g_return_val_if_fail (activity_client != NULL, FALSE);
g_return_val_if_fail (EVOLUTION_IS_ACTIVITY_CLIENT (activity_client), FALSE);
@@ -348,15 +349,20 @@ evolution_activity_client_construct (EvolutionActivityClient *activity_client,
return FALSE;
}
+ corba_animated_icon = create_corba_animated_icon_from_pixbuf_array (animated_icon);
+
GNOME_Evolution_Activity_operationStarted (activity_interface,
component_id,
- create_corba_animated_icon_from_pixbuf_array (animated_icon),
+ corba_animated_icon,
information,
cancellable,
bonobo_object_corba_objref (BONOBO_OBJECT (priv->listener)),
&priv->activity_id,
&suggest_display,
&ev);
+
+ CORBA_free (corba_animated_icon);
+
if (ev._major != CORBA_NO_EXCEPTION) {
CORBA_exception_free (&ev);
return FALSE;