mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
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
This commit is contained in:
parent
27f361c238
commit
9fee53684d
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user