aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-01-23 14:10:43 -0600
committerTed Gould <ted@gould.cx>2011-01-23 14:10:43 -0600
commit90cc7e167c0fc9c709379afa1f22e0a2c494c347 (patch)
tree4a879fb157a52f05dffee9e9d1357b36eacbbb0c /tests
parent0ab1ae08ad882569f301b00b174d1c823adb9674 (diff)
downloadlibdbusmenu-90cc7e167c0fc9c709379afa1f22e0a2c494c347.tar.gz
libdbusmenu-90cc7e167c0fc9c709379afa1f22e0a2c494c347.tar.bz2
libdbusmenu-90cc7e167c0fc9c709379afa1f22e0a2c494c347.zip
Adding some debug code, commented out.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-gtk-parser.c7
1 files changed, 7 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
*/
+#include <libdbusmenu-glib/menuitem-private.h>
#include <libdbusmenu-gtk/parser.h>
/* 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);