[epiphany/wip/exalm/tabs: 25/37] fixup! tmp




commit 2c1627e9ca5ed08124052e2115da3080f99692a6
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Sep 7 14:11:42 2020 +0500

    fixup! tmp

 src/ephy-window.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 2e2b9ab8d..1561a0f2a 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2945,7 +2945,7 @@ tab_has_modified_forms_cb (EphyWebView             *view,
     HdyTabView *tab_view = ephy_tab_view_get_tab_view (data->window->tab_view);
 
     if (!has_modified_forms || confirm_close_with_modified_forms (data->window)) {
-      ephy_tab_view_close (data->window->tab_view, GTK_WIDGET (data->embed));
+      ephy_window_close_tab (data->window, data->embed);
       hdy_tab_view_close_page_finish (tab_view, data->page, TRUE);
     } else
       hdy_tab_view_close_page_finish (tab_view, data->page, FALSE);
@@ -2968,7 +2968,7 @@ tab_has_modified_forms_timeout_cb (TabHasModifiedFormsData *data)
   if (data->window != NULL && data->embed != NULL) {
     HdyTabView *tab_view = ephy_tab_view_get_tab_view (data->window->tab_view);
 
-    ephy_tab_view_close (data->window->tab_view, GTK_WIDGET (data->embed));
+    ephy_window_close_tab (data->window, data->embed);
     hdy_tab_view_close_page_finish (tab_view, data->page, TRUE);
   }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]