window: Use gtk_widget_queue_resize()

_gtk_container_queue_resize() is a private function and probably
shouldn't have even been used in 1999 when this call was originally
added.
This commit is contained in:
Benjamin Otte
2015-09-14 20:22:45 +02:00
parent bcc0a54383
commit 07a574dddd
2 changed files with 3 additions and 3 deletions

View File

@@ -190,7 +190,7 @@ gtk_win32_embed_widget_realize (GtkWidget *widget)
}
gtk_widget_size_allocate (widget, &allocation);
_gtk_container_queue_resize (GTK_CONTAINER (widget));
gtk_widget_queue_resize (widget);
g_return_if_fail (!gtk_widget_get_realized (widget));
}

View File

@@ -7052,7 +7052,7 @@ gtk_window_realize (GtkWidget *widget)
allocation.height = MAX (allocation.height, h);
gtk_widget_size_allocate (widget, &allocation);
_gtk_container_queue_resize (GTK_CONTAINER (widget));
gtk_widget_queue_resize (widget);
g_return_if_fail (!_gtk_widget_get_realized (widget));
}
@@ -7558,7 +7558,7 @@ gtk_window_configure_event (GtkWidget *widget,
priv->configure_notify_received = TRUE;
_gtk_container_queue_resize (GTK_CONTAINER (widget));
gtk_widget_queue_resize (widget);
return TRUE;
}