app: remove .present() workaround
This should no longer be needed now. https://gitlab.gnome.org/GNOME/gtk/issues/1754
This commit is contained in:
parent
5a9ff8e331
commit
78283e51f6
@ -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')
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user