[epiphany/wip/exalm/gtk4-cleanups-3: 5/18] fullscreen-box: Stop handling internal child in add_child()




commit f36b9b1cda9ad9a2a0bb45f73736d3c4a76974e2
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Dec 1 14:16:05 2021 +0500

    fullscreen-box: Stop handling internal child in add_child()
    
    It was from the time when this was using a template. It doesn't anymore,
    and it's one less line to adapt for GTK4.

 src/ephy-fullscreen-box.c | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/src/ephy-fullscreen-box.c b/src/ephy-fullscreen-box.c
index 422198a4e..5ace6fa49 100644
--- a/src/ephy-fullscreen-box.c
+++ b/src/ephy-fullscreen-box.c
@@ -466,11 +466,6 @@ ephy_fullscreen_box_buildable_add_child (GtkBuildable *buildable,
 {
   EphyFullscreenBox *self = EPHY_FULLSCREEN_BOX (buildable);
 
-  if (!self->flap) {
-    gtk_container_add (GTK_CONTAINER (self), GTK_WIDGET (child));
-    return;
-  }
-
   if (!g_strcmp0 (type, "titlebar"))
     ephy_fullscreen_box_set_titlebar (self, GTK_WIDGET (child));
   else


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