[libadwaita/wip/exalm/fixes: 2/5] focus: Rename to widget-utils
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/fixes: 2/5] focus: Rename to widget-utils
- Date: Mon, 9 Aug 2021 15:47:52 +0000 (UTC)
commit 2e4000ce0636bf968dbb20b8842c23fb441353ee
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Aug 9 19:16:45 2021 +0500
focus: Rename to widget-utils
We'll add functions that aren't related to focus there.
src/adw-header-bar.c | 2 +-
src/adw-view-stack.c | 2 +-
src/{adw-focus-private.h => adw-widget-utils-private.h} | 0
src/{adw-focus.c => adw-widget-utils.c} | 2 +-
src/adw-window-mixin.c | 2 +-
src/meson.build | 2 +-
6 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/adw-header-bar.c b/src/adw-header-bar.c
index cfbbcc88..93418584 100644
--- a/src/adw-header-bar.c
+++ b/src/adw-header-bar.c
@@ -24,9 +24,9 @@
#include "adw-header-bar.h"
#include "adw-enums.h"
-#include "adw-focus-private.h"
#include "adw-gizmo-private.h"
#include "adw-macros-private.h"
+#include "adw-widget-utils-private.h"
/**
* AdwHeaderBar:
diff --git a/src/adw-view-stack.c b/src/adw-view-stack.c
index a38f7335..cd4d2f50 100644
--- a/src/adw-view-stack.c
+++ b/src/adw-view-stack.c
@@ -17,9 +17,9 @@
#include "gtkprogresstrackerprivate.h"
#include "adw-animation-util-private.h"
#include "adw-enums.h"
-#include "adw-focus-private.h"
#include "adw-gizmo-private.h"
#include "adw-macros-private.h"
+#include "adw-widget-utils-private.h"
/**
* AdwViewStack:
diff --git a/src/adw-focus-private.h b/src/adw-widget-utils-private.h
similarity index 100%
rename from src/adw-focus-private.h
rename to src/adw-widget-utils-private.h
diff --git a/src/adw-focus.c b/src/adw-widget-utils.c
similarity index 99%
rename from src/adw-focus.c
rename to src/adw-widget-utils.c
index d0acf604..27433b0d 100644
--- a/src/adw-focus.c
+++ b/src/adw-widget-utils.c
@@ -15,7 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "adw-focus-private.h"
+#include "adw-widget-utils-private.h"
typedef struct _CompareInfo CompareInfo;
diff --git a/src/adw-window-mixin.c b/src/adw-window-mixin.c
index aed17a33..6d6f98f0 100644
--- a/src/adw-window-mixin.c
+++ b/src/adw-window-mixin.c
@@ -6,8 +6,8 @@
#include "config.h"
-#include "adw-focus-private.h"
#include "adw-gizmo-private.h"
+#include "adw-widget-utils-private.h"
#include "adw-window-mixin-private.h"
struct _AdwWindowMixin
diff --git a/src/meson.build b/src/meson.build
index d0b1c90c..90c7efa2 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -141,7 +141,6 @@ src_sources = [
'adw-expander-row.c',
'adw-fading-label.c',
'adw-flap.c',
- 'adw-focus.c',
'adw-fold-threshold-policy.c',
'adw-gizmo.c',
'adw-header-bar.c',
@@ -168,6 +167,7 @@ src_sources = [
'adw-view-switcher-bar.c',
'adw-view-switcher-button.c',
'adw-view-switcher-title.c',
+ 'adw-widget-utils.c',
'adw-window.c',
'adw-window-mixin.c',
'adw-window-title.c',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]