mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
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:
parent
04eca294a0
commit
03494d36af
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user