[rhythmbox] audioscrobbler: remove unwanted debug messages on table resize



commit 49214bbd3d3fef845b3865d03fb67e1139329fd9
Author: Jamie Nicol <jamie thenicols net>
Date:   Sun Jul 18 22:24:50 2010 +0100

    audioscrobbler: remove unwanted debug messages on table resize

 .../rb-audioscrobbler-profile-source.c             |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/plugins/audioscrobbler/rb-audioscrobbler-profile-source.c b/plugins/audioscrobbler/rb-audioscrobbler-profile-source.c
index b3ad17f..9b9126d 100644
--- a/plugins/audioscrobbler/rb-audioscrobbler-profile-source.c
+++ b/plugins/audioscrobbler/rb-audioscrobbler-profile-source.c
@@ -1516,12 +1516,10 @@ rb_audioscrobbler_profile_source_list_layout_size_allocate_cb (GtkWidget *layout
 	button_width = 1;
 	for (i = buttons; i != NULL; i = i->next) {
 		GtkRequisition button_requisition;
-		gtk_widget_get_requisition (i->data, &button_requisition);
 
-		rb_debug ("button_width: %i", button_requisition.width);
+		gtk_widget_get_requisition (i->data, &button_requisition);
 		if (button_requisition.width > button_width) {
 			button_width = button_requisition.width;
-			rb_debug ("new biggest button width: %i", button_width);
 		}
 	}
 
@@ -1547,7 +1545,6 @@ rb_audioscrobbler_profile_source_list_layout_size_allocate_cb (GtkWidget *layout
 		}
 
 		/* resize the table */
-		rb_debug ("resizing table from %i to %ix%i", current_num_columns, new_num_columns, new_num_rows);
 		gtk_table_resize (GTK_TABLE (table), new_num_columns, new_num_rows);
 
 		/* don't know why, but g_table_resize doesn't always update these properties properly */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]