[gnome-shell] st: Remove BoxLayout child meta



commit 0ab34fe21f6197f3d26dc3676f2eb43e23d64c86
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu May 21 01:11:04 2020 +0200

    st: Remove BoxLayout child meta
    
    They were deprecated last cycle in favor of ClutterActor's own
    expand/align properties, time to retire them for good.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1274

 src/st/meson.build           |   2 -
 src/st/st-box-layout-child.c | 221 -------------------------------------------
 src/st/st-box-layout-child.h |  52 ----------
 src/st/st-box-layout.c       |  14 +--
 4 files changed, 1 insertion(+), 288 deletions(-)
---
diff --git a/src/st/meson.build b/src/st/meson.build
index ad9209823d..6b88af2952 100644
--- a/src/st/meson.build
+++ b/src/st/meson.build
@@ -4,7 +4,6 @@ st_headers = [
   'st-bin.h',
   'st-border-image.h',
   'st-box-layout.h',
-  'st-box-layout-child.h',
   'st-button.h',
   'st-clipboard.h',
   'st-drawing-area.h',
@@ -116,7 +115,6 @@ st_sources = [
   'st-bin.c',
   'st-border-image.c',
   'st-box-layout.c',
-  'st-box-layout-child.c',
   'st-button.c',
   'st-clipboard.c',
   'st-drawing-area.c',
diff --git a/src/st/st-box-layout.c b/src/st/st-box-layout.c
index 298c499ea5..f9121c9c6b 100644
--- a/src/st/st-box-layout.c
+++ b/src/st/st-box-layout.c
@@ -53,11 +53,8 @@
 
 #include "st-private.h"
 #include "st-scrollable.h"
-#include "st-box-layout-child.h"
 
 
-static void st_box_container_iface_init (ClutterContainerIface *iface);
-
 enum {
   PROP_0,
 
@@ -71,16 +68,7 @@ struct _StBoxLayoutPrivate
   StAdjustment *vadjustment;
 };
 
-G_DEFINE_TYPE_WITH_CODE (StBoxLayout, st_box_layout, ST_TYPE_VIEWPORT,
-                         G_ADD_PRIVATE (StBoxLayout)
-                         G_IMPLEMENT_INTERFACE (CLUTTER_TYPE_CONTAINER,
-                                                st_box_container_iface_init));
-
-static void
-st_box_container_iface_init (ClutterContainerIface *iface)
-{
-  iface->child_meta_type = ST_TYPE_BOX_LAYOUT_CHILD;
-}
+G_DEFINE_TYPE_WITH_PRIVATE (StBoxLayout, st_box_layout, ST_TYPE_VIEWPORT);
 
 
 static void


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