aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-08-08 18:18:41 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-08-08 18:18:41 +0800
commit588f0d537f68fce195ab8fa904c3426f728280b3 (patch)
tree702ed430edf42620ef5ed1ab1f6263b4a2dff610 /shell
parentbb74dae1ceebc170045d9e7149cb1106af2d740d (diff)
downloadgsoc2013-evolution-588f0d537f68fce195ab8fa904c3426f728280b3.tar
gsoc2013-evolution-588f0d537f68fce195ab8fa904c3426f728280b3.tar.gz
gsoc2013-evolution-588f0d537f68fce195ab8fa904c3426f728280b3.tar.bz2
gsoc2013-evolution-588f0d537f68fce195ab8fa904c3426f728280b3.tar.lz
gsoc2013-evolution-588f0d537f68fce195ab8fa904c3426f728280b3.tar.xz
gsoc2013-evolution-588f0d537f68fce195ab8fa904c3426f728280b3.tar.zst
gsoc2013-evolution-588f0d537f68fce195ab8fa904c3426f728280b3.zip
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
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog9
-rw-r--r--shell/evolution-activity-client.c2
-rw-r--r--shell/evolution-shell-component.c2
3 files changed, 12 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index e63198bb76..2d4a31a267 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,14 @@
2001-08-08 Ettore Perazzoli <ettore@ximian.com>
+ * 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 <ettore@ximian.com>
+
* e-corba-shortcuts.c (shortcut_list_to_corba): Set the release
flag for the newly allocated sequence.
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;
}