Ted Gould has proposed merging lp:~ted/dbusmenu/bigger-max-xml into lp:dbusmenu.

Requested reviews:
  Neil J. Patel (njpatel)


Increase the max number of characters the XML string can be.  GIMP is crazy.
-- 
https://code.launchpad.net/~ted/dbusmenu/bigger-max-xml/+merge/33219
Your team ayatana-commits is subscribed to branch lp:dbusmenu.
=== modified file 'libdbusmenu-glib/client.c'
--- libdbusmenu-glib/client.c	2010-08-16 15:59:53 +0000
+++ libdbusmenu-glib/client.c	2010-08-20 14:27:43 +0000
@@ -1225,7 +1225,8 @@
 
 	xmlDocPtr xmldoc;
 
-	xmldoc = xmlReadMemory(layout, g_utf8_strlen(layout, 16*1024), "dbusmenu.xml", NULL, 0);
+	/* No one should need more characters than this! */
+	xmldoc = xmlReadMemory(layout, g_utf8_strlen(layout, 1024*1024), "dbusmenu.xml", NULL, 0);
 
 	xmlNodePtr root = xmlDocGetRootElement(xmldoc);
 

_______________________________________________
Mailing list: https://launchpad.net/~ayatana-commits
Post to     : ayatana-commits@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ayatana-commits
More help   : https://help.launchpad.net/ListHelp

Reply via email to