Remove weird, unnecessary g_idle_add

which are triggering some weird, not fully understood bug.
Resolves: #1875140
This commit is contained in:
Ray Strode 2020-09-11 14:39:04 -04:00
parent 25882eb049
commit 7c53ba61c6
2 changed files with 28 additions and 1 deletions

View File

@ -6,13 +6,14 @@
Name: gnome-initial-setup
Version: 3.38.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Bootstrapping your OS
License: GPLv2+
URL: https://wiki.gnome.org/Design/OS/InitialSetup
Source0: https://download.gnome.org/sources/%{name}/3.38/%{name}-%{version}.tar.xz
Source1: vendor.conf
Patch0: the-time-to-idle-is-out.patch
BuildRequires: meson
BuildRequires: gcc
@ -109,6 +110,11 @@ useradd -rM -d /run/gnome-initial-setup/ -s /sbin/nologin %{name} &>/dev/null ||
%{_datadir}/gnome-initial-setup/vendor.conf
%changelog
* Fri Sep 11 2020 Ray Strode <rstrode@redhat.com> - 3.38.0-2
- Remove weird, unnecessary g_idle_add which are triggering
some weird, not fully understood bug.
Resolves: #1875140
* Thu Sep 10 2020 Kalev Lember <klember@redhat.com> - 3.38.0-1
- Update to 3.38.0

View File

@ -0,0 +1,21 @@
diff -up gnome-initial-setup-3.38.0/gnome-initial-setup/gis-driver.c.the-time-to-idle-is-out gnome-initial-setup-3.38.0/gnome-initial-setup/gis-driver.c
--- gnome-initial-setup-3.38.0/gnome-initial-setup/gis-driver.c.the-time-to-idle-is-out 2020-09-11 13:40:17.958247575 -0400
+++ gnome-initial-setup-3.38.0/gnome-initial-setup/gis-driver.c 2020-09-11 13:40:58.413797646 -0400
@@ -819,7 +819,7 @@ update_screen_size (GisDriver *driver)
gtk_window_set_resizable (priv->main_window, TRUE);
gtk_window_set_position (priv->main_window, GTK_WIN_POS_NONE);
- g_idle_add (maximize, priv->main_window);
+ maximize (priv->main_window);
}
else
{
@@ -843,7 +843,7 @@ update_screen_size (GisDriver *driver)
gtk_window_set_resizable (priv->main_window, FALSE);
gtk_window_set_position (priv->main_window, GTK_WIN_POS_CENTER_ALWAYS);
- g_idle_add (unmaximize, priv->main_window);
+ unmaximize (priv->main_window);
}
}