aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-activity-client.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-08-08 01:28:08 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-08-08 01:28:08 +0800
commitdb2a3227a2bdcf2626b1e5e54b108a5e9a6b45e2 (patch)
tree97eba0e3aae859568f80e08b294eb24c9de3d90a /shell/evolution-activity-client.c
parent86244115e3b6c4d15d118fe295adad77c3f32620 (diff)
downloadgsoc2013-evolution-db2a3227a2bdcf2626b1e5e54b108a5e9a6b45e2.tar
gsoc2013-evolution-db2a3227a2bdcf2626b1e5e54b108a5e9a6b45e2.tar.gz
gsoc2013-evolution-db2a3227a2bdcf2626b1e5e54b108a5e9a6b45e2.tar.bz2
gsoc2013-evolution-db2a3227a2bdcf2626b1e5e54b108a5e9a6b45e2.tar.lz
gsoc2013-evolution-db2a3227a2bdcf2626b1e5e54b108a5e9a6b45e2.tar.xz
gsoc2013-evolution-db2a3227a2bdcf2626b1e5e54b108a5e9a6b45e2.tar.zst
gsoc2013-evolution-db2a3227a2bdcf2626b1e5e54b108a5e9a6b45e2.zip
Free the CORBA version of the animated icon.
* evolution-activity-client.c (evolution_activity_client_construct): Free the CORBA version of the animated icon. svn path=/trunk/; revision=11731
Diffstat (limited to 'shell/evolution-activity-client.c')
-rw-r--r--shell/evolution-activity-client.c8
1 files changed, 7 insertions, 1 deletions
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;