From e835aa2faf3bf45c930924aaa60a134cdd269c35 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 8 Aug 2001 09:38:46 +0000 Subject: Fill the CORBA sequence once. * evolution-shell-component.c (impl_ShellComponent__get_supported_types): Fill the CORBA sequence once. * e-activity-handler.c (activity_info_free): Unref the icon. svn path=/trunk/; revision=11773 --- shell/ChangeLog | 8 ++++++++ shell/e-activity-handler.c | 1 + shell/evolution-shell-component.c | 2 -- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index 597efe29e0..ee9bfd4b69 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,11 @@ +2001-08-08 Ettore Perazzoli + + * evolution-shell-component.c + (impl_ShellComponent__get_supported_types): Fill the CORBA + sequence once. + + * e-activity-handler.c (activity_info_free): Unref the icon. + 2001-08-08 Ettore Perazzoli * e-task-bar.c (e_task_bar_prepend_task): Sigh. If the function diff --git a/shell/e-activity-handler.c b/shell/e-activity-handler.c index 89ff551f4f..0c5c028248 100644 --- a/shell/e-activity-handler.c +++ b/shell/e-activity-handler.c @@ -281,6 +281,7 @@ activity_info_free (ActivityInfo *info) CORBA_exception_init (&ev); + gdk_pixbuf_unref (info->icon_pixbuf); CORBA_free (info->information); CORBA_Object_release (info->event_listener, &ev); diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c index bd7421c19c..5f5a9721b1 100644 --- a/shell/evolution-shell-component.c +++ b/shell/evolution-shell-component.c @@ -160,8 +160,6 @@ impl_ShellComponent__get_supported_types (PortableServer_Servant servant, corba_folder_type->icon_name = CORBA_string_dup (folder_type->icon_name); corba_folder_type->user_creatable = folder_type->user_creatable; - fill_corba_sequence_from_null_terminated_string_array (& corba_folder_type->accepted_dnd_types, - folder_type->accepted_dnd_types); fill_corba_sequence_from_null_terminated_string_array (& corba_folder_type->exported_dnd_types, folder_type->exported_dnd_types); } -- cgit v1.2.3