[epiphany/wip/exalm/timestamps: 22/22] window: Don't use a timestamp in present_on_idle_cb()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/exalm/timestamps: 22/22] window: Don't use a timestamp in present_on_idle_cb()
- Date: Mon, 21 Mar 2022 21:53:39 +0000 (UTC)
commit b482c805bcaf1739d746ec0b729bb5c611697a87
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Mar 21 13:03:36 2022 +0400
window: Don't use a timestamp in present_on_idle_cb()
Here we should be able to have a real timestamp, but we don't at the
moment, and won't until the next libadwaita API break.
See https://gitlab.gnome.org/GNOME/libadwaita/-/issues/443
src/ephy-window.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 6dbf337e2..6da695223 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -193,8 +193,6 @@ struct _EphyWindow {
guint checking_modified_forms : 1;
guint confirmed_close_with_multiple_tabs : 1;
guint present_on_insert : 1;
-
- guint32 present_on_insert_user_time;
};
enum {
@@ -2610,10 +2608,7 @@ tab_view_setup_menu_cb (HdyTabView *tab_view,
static gboolean
present_on_idle_cb (GtkWindow *window)
{
- EphyWindow *ephy_window = EPHY_WINDOW (window);
-
- gtk_window_present_with_time (window, ephy_window->present_on_insert_user_time);
- ephy_window->present_on_insert_user_time = 0;
+ gtk_window_present (window);
return FALSE;
}
@@ -2951,7 +2946,6 @@ tab_view_create_window_cb (HdyTabView *tab_view,
new_window = ephy_window_new ();
new_window->present_on_insert = TRUE;
- new_window->present_on_insert_user_time = gtk_get_current_event_time ();
return ephy_tab_view_get_tab_view (new_window->tab_view);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]