diff options
Diffstat (limited to 'e-util/e-plugin-ui.c')
-rw-r--r-- | e-util/e-plugin-ui.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/e-util/e-plugin-ui.c b/e-util/e-plugin-ui.c index 3ca8703d5a..133455b108 100644 --- a/e-util/e-plugin-ui.c +++ b/e-util/e-plugin-ui.c @@ -450,9 +450,7 @@ plugin_ui_hook_construct (EPluginHook *hook, /* Extract the XML content below <ui-manager> */ buffer = xmlBufferCreate (); - for (child = xmlFirstElementChild (node); child != NULL; - child = xmlNextElementSibling (child)) { - + for (child = node->children; child != NULL; child = child->next) { xmlNodeDump (buffer, node->doc, child, 2, 1); temp = (const gchar *) xmlBufferContent (buffer); g_string_append (content, temp); |