Bug 1747919 - Stop using gtk_container_set_resize_mode, r=stransky

Apparently not needed any more, especially with `GTK_RESIZE_IMMEDIATE`,
and may introduce bugs.

Depends on D134817

Differential Revision: https://phabricator.services.mozilla.com/D134819
This commit is contained in:
Robert Mader 2022-01-17 15:40:05 +00:00
parent 04eca294a0
commit 03494d36af

View File

@ -148,7 +148,6 @@ void moz_container_class_init(MozContainerClass* klass) {
void moz_container_init(MozContainer* container) {
gtk_widget_set_can_focus(GTK_WIDGET(container), TRUE);
gtk_container_set_resize_mode(GTK_CONTAINER(container), GTK_RESIZE_IMMEDIATE);
gtk_widget_set_redraw_on_allocate(GTK_WIDGET(container), FALSE);
#ifdef MOZ_WAYLAND
if (mozilla::widget::GdkIsWaylandDisplay()) {