From 02eab77be48407a37c4200489c2531d093b25c4a Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 30 May 2002 17:56:52 +0000 Subject: 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 --- widgets/misc/ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'widgets/misc/ChangeLog') 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 + + * 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 * e-search-bar.c (update_bonobo_menus): Put the stuff in -- cgit v1.2.3