aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-03-15 12:20:00 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-03-15 12:20:00 +0800
commitd17ddb9d8cd7868b59d92592d9c396a0a6b121d6 (patch)
treeb0302320bea8380898f48987dc6c4ec51f9ef93e /widgets
parentca63caf245590c8725255e5be842cbf1123641f9 (diff)
downloadgsoc2013-evolution-d17ddb9d8cd7868b59d92592d9c396a0a6b121d6.tar
gsoc2013-evolution-d17ddb9d8cd7868b59d92592d9c396a0a6b121d6.tar.gz
gsoc2013-evolution-d17ddb9d8cd7868b59d92592d9c396a0a6b121d6.tar.bz2
gsoc2013-evolution-d17ddb9d8cd7868b59d92592d9c396a0a6b121d6.tar.lz
gsoc2013-evolution-d17ddb9d8cd7868b59d92592d9c396a0a6b121d6.tar.xz
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')
-rw-r--r--widgets/ChangeLog6
-rw-r--r--widgets/menus/gal-view-menus.c5
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);