[epiphany/wip/exalm/tabs: 2/2] Silence the CI




commit 64eb6141e827764342b2b48113fb904242a8e667
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun Sep 6 22:21:05 2020 +0500

    Silence the CI

 src/ephy-page-row.c | 17 +----------------
 src/ephy-session.c  |  2 --
 src/ephy-window.c   |  4 ----
 3 files changed, 1 insertion(+), 22 deletions(-)
---
diff --git a/src/ephy-page-row.c b/src/ephy-page-row.c
index 299b1b68c..b88404a6a 100644
--- a/src/ephy-page-row.c
+++ b/src/ephy-page-row.c
@@ -164,8 +164,6 @@ ephy_page_row_new (HdyTabPage *page)
 {
   EphyPageRow *self;
   GtkWidget *embed;
-//  GtkWidget *tab_label;
-//  EphyWebView *view;
 
   g_assert (HDY_IS_TAB_PAGE (page));
 
@@ -175,20 +173,7 @@ ephy_page_row_new (HdyTabPage *page)
   embed = hdy_tab_page_get_content (page);
 
   g_assert (EPHY_IS_EMBED (embed));
-/*
-  tab_label = gtk_notebook_get_tab_label (GTK_NOTEBOOK (notebook), embed);
-  view = ephy_embed_get_web_view (EPHY_EMBED (embed));
-
-  sync_favicon (view, NULL, self);
-  g_signal_connect_object (view, "notify::icon", G_CALLBACK (sync_favicon), self, 0);
-  g_object_bind_property (embed, "title", self->title, "label", G_BINDING_SYNC_CREATE);
-  g_object_bind_property (embed, "title", self->title, "tooltip-text", G_BINDING_SYNC_CREATE);
-  g_object_bind_property (view, "is-playing-audio", self->speaker_icon, "visible", G_BINDING_SYNC_CREATE);
-  g_object_bind_property (tab_label, "pinned", self->close_button, "visible", G_BINDING_SYNC_CREATE | 
G_BINDING_INVERT_BOOLEAN);
-  sync_load_status (view, NULL, self);
-  g_signal_connect_object (view, "load-changed",
-                           G_CALLBACK (load_changed_cb), self, 0);
-*/
+
   return self;
 }
 
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 4ac82f507..3abf54556 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -1256,8 +1256,6 @@ session_parse_embed (SessionParserContext  *context,
                                      context->window, NULL, flags,
                                      0);
 
-    // TODO this is not good, we should use insert_pinned() instead, as pinning
-    // causes a reordering
     hdy_tab_view_set_page_pinned (tab_view,
                                   hdy_tab_view_get_page (tab_view, GTK_WIDGET (embed)),
                                   is_pin);
diff --git a/src/ephy-window.c b/src/ephy-window.c
index b7b4290a5..2e2b9ab8d 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3160,10 +3160,6 @@ setup_tab_view (EphyWindow *window)
                            window,
                            G_CONNECT_SWAPPED);
 
-/*
-  g_signal_connect_swapped (notebook, "open-link",
-                            G_CALLBACK (ephy_link_open), window);
-*/
   return tab_view;
 }
 


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