[nautilus/gtk3-breakage] icon-container: remove size_request vfunc impl



commit 21a7c5b9ba7af920d90c822864ce0d8f312a0978
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Oct 28 13:31:10 2010 +0200

    icon-container: remove size_request vfunc impl
    
    It doesn't seem to do anything useful.

 libnautilus-private/nautilus-icon-container.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index db52e96..4e497a4 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -4070,15 +4070,6 @@ finalize (GObject *object)
 
 /* GtkWidget methods.  */
 
-static void
-size_request (GtkWidget *widget,
-	      GtkRequisition *requisition)
-{
-	GTK_WIDGET_CLASS (nautilus_icon_container_parent_class)->size_request (widget, requisition);
-	requisition->width = 1;
-	requisition->height = 1;
-}
-
 static gboolean
 clear_size_allocation_count (gpointer data)
 {
@@ -6020,7 +6011,6 @@ nautilus_icon_container_class_init (NautilusIconContainerClass *class)
 
 	widget_class = GTK_WIDGET_CLASS (class);
 	widget_class->destroy = destroy;
-	widget_class->size_request = size_request;
 	widget_class->size_allocate = size_allocate;
 	widget_class->realize = realize;
 	widget_class->unrealize = unrealize;



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