diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/ChangeLog | 6 | ||||
-rw-r--r-- | widgets/menus/gal-view-menus.c | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog index 0f5a28fdff..bde7240b53 100644 --- a/widgets/ChangeLog +++ b/widgets/ChangeLog @@ -1,3 +1,9 @@ +2005-03-14 Not Zed <NotZed@Ximian.com> + + * menus/gal-view-menus.c (build_menus): don't + bonobo_ui_free_string from bonobo_ui_node_to_string - it should be + g_free'd now (api chagne in bonobo). + 2005-03-11 Sushma Rai <rsushma@novell.com> * misc/e-send-options.c (setup_widgets): Not showing the send options diff --git a/widgets/menus/gal-view-menus.c b/widgets/menus/gal-view-menus.c index 190514058f..762f845d20 100644 --- a/widgets/menus/gal-view-menus.c +++ b/widgets/menus/gal-view-menus.c @@ -269,7 +269,6 @@ build_menus(GalViewMenus *menus) { BonoboUINode *root, *menu, *submenu, *place, *menuitem, *commands, *command; char *xml; - xmlChar *string; int length; int i; GalViewInstance *instance = menus->priv->instance; @@ -377,9 +376,7 @@ build_menus(GalViewMenus *menus) bonobo_ui_node_set_attr(command, "name", "DefineViews"); } - string = bonobo_ui_node_to_string(root, TRUE); - xml = g_strdup(string); - bonobo_ui_node_free_string(string); + xml = bonobo_ui_node_to_string(root, TRUE); bonobo_ui_node_free(root); |