From 90cc7e167c0fc9c709379afa1f22e0a2c494c347 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Sun, 23 Jan 2011 14:10:43 -0600 Subject: Adding some debug code, commented out. --- tests/test-gtk-parser.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test-gtk-parser.c b/tests/test-gtk-parser.c index e6d5385..ee608ae 100644 --- a/tests/test-gtk-parser.c +++ b/tests/test-gtk-parser.c @@ -19,6 +19,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#include #include /* Just makes sure we can connect here people */ @@ -74,6 +75,12 @@ test_parser_children (void) { DbusmenuMenuitem * mi = dbusmenu_gtk_parse_menu_structure(menu); g_assert(mi != NULL); +/* + GPtrArray * xmlarray = g_ptr_array_new(); + dbusmenu_menuitem_buildxml(mi, xmlarray); + g_debug("XML: %s", g_strjoinv("", (gchar **)xmlarray->pdata)); +*/ + GList * children = dbusmenu_menuitem_get_children(mi); g_assert(children != NULL); -- cgit v1.2.3