From 03494d36af9358add57f420623cfdd4bc8acaec6 Mon Sep 17 00:00:00 2001 From: Robert Mader Date: Mon, 17 Jan 2022 15:40:05 +0000 Subject: [PATCH] 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 --- widget/gtk/MozContainer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/widget/gtk/MozContainer.cpp b/widget/gtk/MozContainer.cpp index 95832dc03d95..8141b7c79250 100644 --- a/widget/gtk/MozContainer.cpp +++ b/widget/gtk/MozContainer.cpp @@ -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()) {