Drop some unused debug printfs

Remove some debug spew that has been ifdef'ed out for years
and does not look useful enough to keep.
This commit is contained in:
Matthias Clasen
2016-02-28 15:26:52 -05:00
parent 8e1368e6de
commit 0ac71e81cf
8 changed files with 3 additions and 131 deletions

View File

@ -277,9 +277,6 @@
* ]|
*/
#undef DEBUG_UI_MANAGER
typedef enum
{
NODE_TYPE_UNDECIDED,
@ -2549,10 +2546,6 @@ update_node (GtkUIManager *manager,
GtkAction *action;
const gchar *action_name;
NodeUIReference *ref;
#ifdef DEBUG_UI_MANAGER
GList *tmp;
#endif
g_return_if_fail (node != NULL);
g_return_if_fail (NODE_INFO (node) != NULL);
@ -2568,19 +2561,6 @@ update_node (GtkUIManager *manager,
popup_accels = info->popup_accels;
}
#ifdef DEBUG_UI_MANAGER
g_print ("update_node name=%s dirty=%d popup %d (",
info->name, info->dirty, in_popup);
for (tmp = info->uifiles; tmp != NULL; tmp = tmp->next)
{
NodeUIReference *ref = tmp->data;
g_print("%s:%u", g_quark_to_string (ref->action_quark), ref->merge_id);
if (tmp->next)
g_print (", ");
}
g_print (")\n");
#endif
if (info->uifiles == NULL) {
/* We may need to remove this node.
* This must be done in post order