diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-31 01:56:52 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-31 01:56:52 +0800 |
commit | 02eab77be48407a37c4200489c2531d093b25c4a (patch) | |
tree | e7c73faa962f5d29fed63cb9c2605f100ce8309f /shell | |
parent | 4a535bcccc240a69f4db0ba459e548c010ef231a (diff) | |
download | gsoc2013-evolution-02eab77be48407a37c4200489c2531d093b25c4a.tar gsoc2013-evolution-02eab77be48407a37c4200489c2531d093b25c4a.tar.gz gsoc2013-evolution-02eab77be48407a37c4200489c2531d093b25c4a.tar.bz2 gsoc2013-evolution-02eab77be48407a37c4200489c2531d093b25c4a.tar.lz gsoc2013-evolution-02eab77be48407a37c4200489c2531d093b25c4a.tar.xz gsoc2013-evolution-02eab77be48407a37c4200489c2531d093b25c4a.tar.zst gsoc2013-evolution-02eab77be48407a37c4200489c2531d093b25c4a.zip |
New helper function. (build_items): g_strdup() the text for all the items.
* e-filter-bar.c (dup_item_no_subitems): New helper function.
(build_items): g_strdup() the text for all the items. Prepend the
user-defined items with an order number.
(free_built_items): New function to free the array returned by
build_items, freeing the text strings too [since now they are
newly allocated instead of just pointing to the exiting ones].
(generate_menu): Call free_built_items() on the built items
instead of just g_array_free().
(set_option): Likewise.
svn path=/trunk/; revision=17045
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions