grouped function names into application-level, widget-level and
Fri Feb 19 17:52:28 1999 Tim Janik <timj@gtk.org> * gtk/gtksignal.h: grouped function names into application-level, widget-level and non-public. * gtk/gtktreeitem.c (gtk_tree_item_size_request): use auto pix_requisition instead of item->pixmaps_box->requisition.
This commit is contained in:
@ -500,17 +500,19 @@ gtk_tree_item_size_request (GtkWidget *widget,
|
||||
|
||||
if (bin->child && GTK_WIDGET_VISIBLE (bin->child))
|
||||
{
|
||||
GtkRequisition pix_requisition;
|
||||
|
||||
gtk_widget_size_request (bin->child, &child_requisition);
|
||||
|
||||
requisition->width += child_requisition.width;
|
||||
|
||||
gtk_widget_size_request (item->pixmaps_box,
|
||||
&item->pixmaps_box->requisition);
|
||||
requisition->width += item->pixmaps_box->requisition.width + DEFAULT_DELTA +
|
||||
GTK_TREE(widget->parent)->current_indent;
|
||||
&pix_requisition);
|
||||
requisition->width += pix_requisition.width + DEFAULT_DELTA +
|
||||
GTK_TREE (widget->parent)->current_indent;
|
||||
|
||||
requisition->height += MAX (child_requisition.height,
|
||||
item->pixmaps_box->requisition.height);
|
||||
pix_requisition.height);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user