[libhandy/wip/haecker-felix/flap-widget: 18/20] stackable-box: Move HDY_SWIPE_BORDER to hdy-swipe-tracker-private.h




commit f29ed23d572c9fdf848f4a61c6f62e8dc93d6a60
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Dec 10 14:44:29 2020 +0500

    stackable-box: Move HDY_SWIPE_BORDER to hdy-swipe-tracker-private.h
    
    We'll need the same constant in HdyFlap.

 src/hdy-stackable-box.c         | 1 -
 src/hdy-swipe-tracker-private.h | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/hdy-stackable-box.c b/src/hdy-stackable-box.c
index d031d9c7..5d222060 100644
--- a/src/hdy-stackable-box.c
+++ b/src/hdy-stackable-box.c
@@ -75,7 +75,6 @@ enum {
 #define HDY_FOLD_FOLDED TRUE
 #define HDY_FOLD_MAX 2
 #define GTK_ORIENTATION_MAX 2
-#define HDY_SWIPE_BORDER 32
 
 typedef struct _HdyStackableBoxChildInfo HdyStackableBoxChildInfo;
 
diff --git a/src/hdy-swipe-tracker-private.h b/src/hdy-swipe-tracker-private.h
index d4b5541e..d85f181b 100644
--- a/src/hdy-swipe-tracker-private.h
+++ b/src/hdy-swipe-tracker-private.h
@@ -14,6 +14,8 @@
 
 G_BEGIN_DECLS
 
+#define HDY_SWIPE_BORDER 32
+
 void hdy_swipe_tracker_emit_begin_swipe (HdySwipeTracker        *self,
                                          HdyNavigationDirection  direction,
                                          gboolean                direct);


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