changeset 32639:4c36e93c4225

remove unused code
author Marcus Lundblad <ml@update.uu.se>
date Mon, 29 Nov 2010 15:48:29 +0000
parents 28cfdda1f391
children a13bf77df2c2
files pidgin/gtkstatusbox.c
diffstat 1 files changed, 0 insertions(+), 32 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkstatusbox.c	Mon Nov 29 13:09:01 2010 +0000
+++ b/pidgin/gtkstatusbox.c	Mon Nov 29 15:48:29 2010 +0000
@@ -1931,38 +1931,6 @@
 
 }
 
-#if 0
-static void
-pidgin_status_box_get_preferred_size(GtkWidget *widget,
-	GtkRequisition *minimum_size, GtkRequisition *natural_size)
-{
-	GtkRequisition box_min_req;
-	GtkRequisition box_nat_req;
-	gint border_width = gtk_container_get_border_width(GTK_CONTAINER (widget));
-
-	gtk_widget_get_preferred_size(PIDGIN_STATUS_BOX(widget)->toggle_button,
-		minimum_size, natural_size);
-
-	/* Make this icon the same size as other buddy icons in the list; unless it already wants to be bigger */
-	minimum_size->height = MAX(minimum_size->height, 34);
-	minimum_size->height += border_width * 2;
-	natural_size->height = MAX(minium_size->height, 34);
-	natural_size->height += border_width * 2;
-	
-	/* If the gtkimhtml is visible, then add some additional padding */
-	gtk_widget_get_preferred_size(PIDGIN_STATUS_BOX(widget)->vbox, &box_min_req, &box_nat_req);
-
-	if (box_min_req.height > 1)
-		minimum_size->height += box_min_req.height + border_width * 2;
-
-	if (box_nat_req.height > 1)
-		natural_size->height += box_nat_req.height + border_width * 2;
-	
-	minimum_size->width = 1;
-	natural_size->width = 1;
-}
-#endif
-
 static void
 pidgin_status_box_get_preferred_height(GtkWidget *widget, gint *minimum_height,
                                        gint *natural_height)