summaryrefslogtreecommitdiff
path: root/gtk/deprecated
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-02-28 15:26:52 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-02-28 21:40:23 -0500
commit0ac71e81cf9e80fc3b7903e98e0c3cb059cb68ca (patch)
treef3343f04e0173e51cd44e4cd156a4c1abd44743e /gtk/deprecated
parent8e1368e6de98dd0414f462c851386573465f331a (diff)
downloadgtk+-0ac71e81cf9e80fc3b7903e98e0c3cb059cb68ca.tar.gz
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.
Diffstat (limited to 'gtk/deprecated')
-rw-r--r--gtk/deprecated/gtkstatusicon-quartz.c1
-rw-r--r--gtk/deprecated/gtkuimanager.c20
2 files changed, 0 insertions, 21 deletions
diff --git a/gtk/deprecated/gtkstatusicon-quartz.c b/gtk/deprecated/gtkstatusicon-quartz.c
index f67c4ac30b..7a2442b607 100644
--- a/gtk/deprecated/gtkstatusicon-quartz.c
+++ b/gtk/deprecated/gtkstatusicon-quartz.c
@@ -68,7 +68,6 @@
- (void) dealloc
{
- g_print ("Deallocating GtkQuartzStatusIcon\n");
[current_image release];
[ns_item release];
[ns_bar release];
diff --git a/gtk/deprecated/gtkuimanager.c b/gtk/deprecated/gtkuimanager.c
index b79895b25a..7547bf83c6 100644
--- a/gtk/deprecated/gtkuimanager.c
+++ b/gtk/deprecated/gtkuimanager.c
@@ -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