[epiphany/wip/exalm/gtk4-cleanups-3: 5/18] fullscreen-box: Stop handling internal child in add_child()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/exalm/gtk4-cleanups-3: 5/18] fullscreen-box: Stop handling internal child in add_child()
- Date: Wed, 1 Dec 2021 23:40:04 +0000 (UTC)
commit 514abf7bae56adabefef7aaa075552c743dcba2d
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]