[libpanel] layout: remove PanelLayout and PanelLayoutItem
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpanel] layout: remove PanelLayout and PanelLayoutItem
- Date: Thu, 15 Sep 2022 00:03:22 +0000 (UTC)
commit e8b7a0380909a7e5c9a4dee79b4e4c216338e4f3
Author: Christian Hergert <chergert redhat com>
Date: Wed Sep 14 17:02:07 2022 -0700
layout: remove PanelLayout and PanelLayoutItem
These are better kept in applications for now until we have a really good
idea of how to do this in a more automated fashion.
src/libpanel.h | 2 -
src/meson.build | 4 -
src/panel-layout-item-private.h | 32 ---
src/panel-layout-item.c | 559 ----------------------------------------
src/panel-layout-item.h | 76 ------
src/panel-layout-private.h | 29 ---
src/panel-layout.c | 284 --------------------
src/panel-layout.h | 61 -----
src/panel-types.h | 2 -
testsuite/meson.build | 5 -
testsuite/test-layout.c | 89 -------
11 files changed, 1143 deletions(-)
---
diff --git a/src/libpanel.h b/src/libpanel.h
index 767fef2..4e6c62d 100644
--- a/src/libpanel.h
+++ b/src/libpanel.h
@@ -34,8 +34,6 @@
# include "panel-grid.h"
# include "panel-grid-column.h"
# include "panel-init.h"
-# include "panel-layout.h"
-# include "panel-layout-item.h"
# include "panel-omni-bar.h"
# include "panel-paned.h"
# include "panel-position.h"
diff --git a/src/meson.build b/src/meson.build
index 9be5802..e97e9b7 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -42,8 +42,6 @@ libpanel_sources = [
'panel-grid.c',
'panel-grid-column.c',
'panel-init.c',
- 'panel-layout.c',
- 'panel-layout-item.c',
'panel-omni-bar.c',
'panel-paned.c',
'panel-position.c',
@@ -66,8 +64,6 @@ libpanel_headers = [
'panel-grid.h',
'panel-grid-column.h',
'panel-init.h',
- 'panel-layout.h',
- 'panel-layout-item.h',
'panel-omni-bar.h',
'panel-paned.h',
'panel-position.h',
diff --git a/src/panel-types.h b/src/panel-types.h
index b076178..13ec821 100644
--- a/src/panel-types.h
+++ b/src/panel-types.h
@@ -34,8 +34,6 @@ typedef struct _PanelFrameSwitcher PanelFrameSwitcher;
typedef struct _PanelFrameTabBar PanelFrameTabBar;
typedef struct _PanelGrid PanelGrid;
typedef struct _PanelGridColumn PanelGridColumn;
-typedef struct _PanelLayout PanelLayout;
-typedef struct _PanelLayoutItem PanelLayoutItem;
typedef struct _PanelOmniBar PanelOmniBar;
typedef struct _PanelPaned PanelPaned;
typedef struct _PanelPosition PanelPosition;
diff --git a/testsuite/meson.build b/testsuite/meson.build
index b6173ec..153c614 100644
--- a/testsuite/meson.build
+++ b/testsuite/meson.build
@@ -1,7 +1,2 @@
test_dock = executable('test-dock', 'test-dock.c', dependencies: [libpanel_static_dep])
test_paned = executable('test-paned', 'test-paned.c', dependencies: [libpanel_static_dep])
-
-test_layout = executable('test-layout', 'test-layout.c', dependencies: [libpanel_static_dep])
-test('test-layout', test_layout)
-
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]