summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-container.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-11-08 08:25:46 +0200
committerJasmine Hassan <[email protected]>2012-11-16 09:45:53 +0200
commit743a7522519fb3c3ac69dae3789d4f0873252779 (patch)
tree9fc709d36722e9f8295c2b30bfa9f9d4b153208a /libcaja-private/caja-icon-container.c
parent7ec82bee955b65550ce806186c7f01070170e2de (diff)
downloadcaja-743a7522519fb3c3ac69dae3789d4f0873252779.tar.bz2
caja-743a7522519fb3c3ac69dae3789d4f0873252779.tar.xz
[icon-container] remove size_request vfunc impl
It doesn't seem to do anything useful. http://git.gnome.org/browse/nautilus/commit/?id=1cdd0b41bf9de69a93cb166636d7eccff9f5355f
Diffstat (limited to 'libcaja-private/caja-icon-container.c')
-rw-r--r--libcaja-private/caja-icon-container.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c
index e88cac74..efda5cab 100644
--- a/libcaja-private/caja-icon-container.c
+++ b/libcaja-private/caja-icon-container.c
@@ -4493,15 +4493,6 @@ finalize (GObject *object)
/* GtkWidget methods. */
-static void
-size_request (GtkWidget *widget,
- GtkRequisition *requisition)
-{
- GTK_WIDGET_CLASS (caja_icon_container_parent_class)->size_request (widget, requisition);
- requisition->width = 1;
- requisition->height = 1;
-}
-
static gboolean
clear_size_allocation_count (gpointer data)
{
@@ -6588,7 +6579,6 @@ caja_icon_container_class_init (CajaIconContainerClass *class)
/* GtkWidget class. */
widget_class = GTK_WIDGET_CLASS (class);
- widget_class->size_request = size_request;
widget_class->size_allocate = size_allocate;
widget_class->realize = realize;
widget_class->unrealize = unrealize;