From 588f0d537f68fce195ab8fa904c3426f728280b3 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 8 Aug 2001 10:18:41 +0000 Subject: Set the release flag on the returned folder type list too. * evolution-shell-component.c (impl_ShellComponent__get_supported_types): Set the release flag on the returned folder type list too. * evolution-activity-client.c (create_icon_from_pixbuf): Set the release flag on the sequence, not the struct that contains it. svn path=/trunk/; revision=11779 --- shell/ChangeLog | 9 +++++++++ shell/evolution-activity-client.c | 2 +- shell/evolution-shell-component.c | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index e63198bb76..2d4a31a267 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,12 @@ +2001-08-08 Ettore Perazzoli + + * evolution-shell-component.c + (impl_ShellComponent__get_supported_types): Set the release flag + on the returned folder type list too. + + * evolution-activity-client.c (create_icon_from_pixbuf): Set the + release flag on the sequence, not the struct that contains it. + 2001-08-08 Ettore Perazzoli * e-corba-shortcuts.c (shortcut_list_to_corba): Set the release diff --git a/shell/evolution-activity-client.c b/shell/evolution-activity-client.c index fd56683f00..22315a37b8 100644 --- a/shell/evolution-activity-client.c +++ b/shell/evolution-activity-client.c @@ -116,7 +116,7 @@ create_icon_from_pixbuf (GdkPixbuf *pixbuf, sp += rowstride; } - CORBA_sequence_set_release (icon_return, TRUE); + CORBA_sequence_set_release (& icon_return->rgba_data, TRUE); } /* Generate an AnimatedIcon from a NULL-terminated @pixbuf_array. */ diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c index 5f5a9721b1..c01b43bb8e 100644 --- a/shell/evolution-shell-component.c +++ b/shell/evolution-shell-component.c @@ -164,6 +164,8 @@ impl_ShellComponent__get_supported_types (PortableServer_Servant servant, folder_type->exported_dnd_types); } + CORBA_sequence_set_release (folder_type_list, TRUE); + return folder_type_list; } -- cgit v1.2.3