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 /widgets/misc/ChangeLog | |
parent | 4a535bcccc240a69f4db0ba459e548c010ef231a (diff) | |
download | gsoc2013-evolution-02eab77be48407a37c4200489c2531d093b25c4a.tar.gz 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 'widgets/misc/ChangeLog')
-rw-r--r-- | widgets/misc/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 952ef3665b..4cdc0aa3c8 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,15 @@ +2002-05-30 Ettore Perazzoli <ettore@ximian.com> + + * 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. + 2002-05-22 Ettore Perazzoli <ettore@ximian.com> * e-search-bar.c (update_bonobo_menus): Put the stuff in |