aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-08-14 04:18:37 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-08-14 04:18:37 +0800
commit5f73032707d4a5e54647903268d81e630e240238 (patch)
tree63eeb0f7ea3d658954640312875856d6d348109c /shell
parent6933a8dc808127786e46dcf0484b908ea0f56eb0 (diff)
downloadgsoc2013-evolution-5f73032707d4a5e54647903268d81e630e240238.tar
gsoc2013-evolution-5f73032707d4a5e54647903268d81e630e240238.tar.gz
gsoc2013-evolution-5f73032707d4a5e54647903268d81e630e240238.tar.bz2
gsoc2013-evolution-5f73032707d4a5e54647903268d81e630e240238.tar.lz
gsoc2013-evolution-5f73032707d4a5e54647903268d81e630e240238.tar.xz
gsoc2013-evolution-5f73032707d4a5e54647903268d81e630e240238.tar.zst
gsoc2013-evolution-5f73032707d4a5e54647903268d81e630e240238.zip
set_release on the sequence, not the buffer.
* e-corba-shortcuts.c (shortcut_list_to_corba): set_release on the sequence, not the buffer. svn path=/trunk/; revision=11955
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog3
-rw-r--r--shell/e-corba-shortcuts.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 6b3d1cd816..10d0554e9f 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,8 @@
2001-08-13 Ettore Perazzoli <ettore@ximian.com>
+ * e-corba-shortcuts.c (shortcut_list_to_corba): set_release on the
+ sequence, not the buffer.
+
2001-08-13 Ettore Perazzoli <ettore@ximian.com>
* e-shell.c (view_destroy_cb): Restore the shell reffing/unreffing
diff --git a/shell/e-corba-shortcuts.c b/shell/e-corba-shortcuts.c
index 54181d803c..076b49d796 100644
--- a/shell/e-corba-shortcuts.c
+++ b/shell/e-corba-shortcuts.c
@@ -80,8 +80,7 @@ shortcut_list_to_corba (const GSList *shortcut_list,
buffer[i].type = CORBA_string_dup (e_safe_corba_string (item->type));
}
- if (buffer) /* if we have 0 shortcuts, buffer = NULL */
- CORBA_sequence_set_release (buffer, TRUE);
+ CORBA_sequence_set_release (shortcut_list_return, TRUE);
}