diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-06-04 16:19:07 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2010-06-04 16:19:07 -0400 |
commit | d2ba03b40357a15fe3810a74ea9a951441ce38a0 (patch) | |
tree | 60f4c5024c5281f4cbb15d575a72b4d7e012e411 /libdbusmenu-glib/client.c | |
parent | 2397bc7c5beeecfdf7f73fbac0b623ca81e903b7 (diff) | |
parent | 46b9469ec87422d805a40a3834b9e5ab18f8e909 (diff) | |
download | libdbusmenu-d2ba03b40357a15fe3810a74ea9a951441ce38a0.tar.gz libdbusmenu-d2ba03b40357a15fe3810a74ea9a951441ce38a0.tar.bz2 libdbusmenu-d2ba03b40357a15fe3810a74ea9a951441ce38a0.zip |
* New upstream release.
* Add function to get submenu of GTK-ified items
* Fix signal prototype of ID update
* Fixing up VAPI files to build them correctly
* Fixing the version string in the GIR file
* Fix documentation title page
* Reject text nodes early (warnings with Qt integration)
* debian/libdbusmenu-glib-dev.install: Updating gir and vapi file
names for package list.
* debian/gir1.0-dbusmenu-glib-0.2.install: Changing the name of the
typelib file.
Diffstat (limited to 'libdbusmenu-glib/client.c')
-rw-r--r-- | libdbusmenu-glib/client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c index d2ba541..c0d3b7a 100644 --- a/libdbusmenu-glib/client.c +++ b/libdbusmenu-glib/client.c @@ -533,6 +533,9 @@ build_proxies (DbusmenuClient * client) static gint parse_node_get_id (xmlNodePtr node) { + if (node->type != XML_ELEMENT_NODE) { + return -1; + } if (g_strcmp0((gchar *)node->name, "menu") != 0) { /* This kills some nodes early */ g_warning("XML Node is not 'menu' it is '%s'", node->name); |