app: remove .present() workaround

This should no longer be needed now.
https://gitlab.gnome.org/GNOME/gtk/issues/1754
This commit is contained in:
Jordan Petridis 2019-03-19 12:53:09 +02:00
parent 5a9ff8e331
commit 78283e51f6
No known key found for this signature in database
GPG Key ID: E8523968931763BE
2 changed files with 2 additions and 5 deletions

View File

@ -14,7 +14,7 @@ dependency('dbus-1')
dependency('glib-2.0', version: '>= 2.56')
dependency('gio-2.0', version: '>= 2.56')
dependency('gdk-pixbuf-2.0')
dependency('gtk+-3.0', version: '>= 3.22')
dependency('gtk+-3.0', version: '>= 3.24.7')
dependency('libhandy-0.0', version: '>= 0.0.9')
dependency('gstreamer-1.0', version: '>= 1.12')

View File

@ -402,10 +402,7 @@ impl App {
self.headerbar.switch.set_sensitive(true);
self.content.switch_to_populated();
}
// https://gitlab.gnome.org/GNOME/gtk/issues/624#note_109968
Action::RaiseWindow => self
.window
.present_with_time((glib::get_monotonic_time() / 1000) as u32),
Action::RaiseWindow => self.window.present(),
};
glib::Continue(true)