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
This commit is contained in:
Ettore Perazzoli
2001-08-08 09:38:46 +00:00
parent 5dfe756f5f
commit e835aa2faf
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2001-08-08 Ettore Perazzoli <ettore@ximian.com>
* 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 <ettore@ximian.com>
* e-task-bar.c (e_task_bar_prepend_task): Sigh. If the function

View File

@ -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);

View File

@ -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);
}