diff options
author | Ted Gould <ted@canonical.com> | 2009-10-01 13:17:16 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-10-01 13:17:16 -0500 |
commit | 117c858195254ad2debaaf0edc116d85f6d8c4f5 (patch) | |
tree | 5ac51a51aeca94ef5c067be3c4fa54df4764c3b2 | |
parent | 06366b84231af30bff721c70b7178e35e75f014e (diff) | |
download | libdbusmenu-117c858195254ad2debaaf0edc116d85f6d8c4f5.tar.gz libdbusmenu-117c858195254ad2debaaf0edc116d85f6d8c4f5.tar.bz2 libdbusmenu-117c858195254ad2debaaf0edc116d85f6d8c4f5.zip |
Printing out the position when we ask for it.
-rw-r--r-- | libdbusmenu-glib/menuitem.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdbusmenu-glib/menuitem.c b/libdbusmenu-glib/menuitem.c index bfc1a20..5088efb 100644 --- a/libdbusmenu-glib/menuitem.c +++ b/libdbusmenu-glib/menuitem.c @@ -425,6 +425,10 @@ dbusmenu_menuitem_get_position (DbusmenuMenuitem * mi, DbusmenuMenuitem * parent if (childs == NULL) return 0; + #ifdef MASSIVEDEBUG + g_debug("Getting position of %d (%s), it's at: %d", ID(mi), LABEL(mi), count); + #endif + return count; } |