diff options
author | Not Zed <NotZed@Ximian.com> | 2005-03-15 12:20:00 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-03-15 12:20:00 +0800 |
commit | d17ddb9d8cd7868b59d92592d9c396a0a6b121d6 (patch) | |
tree | b0302320bea8380898f48987dc6c4ec51f9ef93e /widgets/menus | |
parent | ca63caf245590c8725255e5be842cbf1123641f9 (diff) | |
download | gsoc2013-evolution-d17ddb9d8cd7868b59d92592d9c396a0a6b121d6.tar.gz gsoc2013-evolution-d17ddb9d8cd7868b59d92592d9c396a0a6b121d6.tar.zst gsoc2013-evolution-d17ddb9d8cd7868b59d92592d9c396a0a6b121d6.zip |
don't bonobo_ui_free_string from bonobo_ui_node_to_string - it should be
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).
svn path=/trunk/; revision=29020
Diffstat (limited to 'widgets/menus')
-rw-r--r-- | widgets/menus/gal-view-menus.c | 5 |
1 files changed, 1 insertions, 4 deletions
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); |