scrolled window: Drop dead code
The allocation is never used in this function, so don't bother getting it.
This commit is contained in:
@ -2464,13 +2464,10 @@ gtk_scrolled_window_allocate_child (GtkScrolledWindow *swindow,
|
||||
GtkAllocation *relative_allocation)
|
||||
{
|
||||
GtkWidget *widget = GTK_WIDGET (swindow), *child;
|
||||
GtkAllocation allocation;
|
||||
GtkAllocation child_allocation;
|
||||
|
||||
child = gtk_bin_get_child (GTK_BIN (widget));
|
||||
|
||||
gtk_widget_get_allocation (widget, &allocation);
|
||||
|
||||
gtk_scrolled_window_relative_allocation (widget, relative_allocation);
|
||||
|
||||
child_allocation.x = relative_allocation->x;
|
||||
|
||||
Reference in New Issue
Block a user