diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2003-07-19 20:24:33 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2003-07-19 20:24:33 +0000 |
commit | 9fee53684dd564559781eeb95d9bb551f0e8edfc (patch) | |
tree | c0e2c0084293e6c1886f5b2406dc199214b1cad9 /gtk/gtktoolitem.c | |
parent | 27f361c238738497c4e9ee28e3fad621230e910e (diff) | |
download | gdk-pixbuf-9fee53684dd564559781eeb95d9bb551f0e8edfc.tar.gz |
remove leftover request of {xy}thickness
Sat Jul 19 22:39:24 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolitem.c (gtk_tool_item_size_request): remove
leftover request of {xy}thickness
Diffstat (limited to 'gtk/gtktoolitem.c')
-rw-r--r-- | gtk/gtktoolitem.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c index b7658816e..eb886cc44 100644 --- a/gtk/gtktoolitem.c +++ b/gtk/gtktoolitem.c @@ -362,8 +362,6 @@ gtk_tool_item_size_request (GtkWidget *widget, GtkRequisition *requisition) { GtkWidget *child = GTK_BIN (widget)->child; - gint xthickness = widget->style->xthickness; - gint ythickness = widget->style->ythickness; if (child && GTK_WIDGET_VISIBLE (child)) { @@ -375,8 +373,8 @@ gtk_tool_item_size_request (GtkWidget *widget, requisition->width = 0; } - requisition->width += (xthickness + GTK_CONTAINER (widget)->border_width) * 2; - requisition->height += (ythickness + GTK_CONTAINER (widget)->border_width) * 2; + requisition->width += (GTK_CONTAINER (widget)->border_width) * 2; + requisition->height += (GTK_CONTAINER (widget)->border_width) * 2; } static void |