[libadwaita/wip/exalm/swipe-group: 46/54] Remove AdwSwipeGroup




commit 58b8f0dc9476d1e269d3051761493b5e54f8cbf9
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Feb 26 14:22:00 2021 +0500

    Remove AdwSwipeGroup
    
    Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/26

 doc/adwaita-docs.xml     |   1 -
 src/adw-swipe-group.c    | 570 -----------------------------------------------
 src/adw-swipe-group.h    |  37 ---
 src/adw-swipeable.c      |   8 +-
 src/adwaita.h            |   1 -
 src/meson.build          |   2 -
 tests/meson.build        |   1 -
 tests/test-swipe-group.c |  45 ----
 8 files changed, 2 insertions(+), 663 deletions(-)
---
diff --git a/doc/adwaita-docs.xml b/doc/adwaita-docs.xml
index 8740ca5..d3be720 100644
--- a/doc/adwaita-docs.xml
+++ b/doc/adwaita-docs.xml
@@ -61,7 +61,6 @@
     <xi:include href="xml/adw-squeezer.xml"/>
     <xi:include href="xml/adw-status-page.xml"/>
     <xi:include href="xml/adw-swipeable.xml"/>
-    <xi:include href="xml/adw-swipe-group.xml"/>
     <xi:include href="xml/adw-swipe-tracker.xml"/>
     <xi:include href="xml/adw-value-object.xml"/>
     <xi:include href="xml/adw-view-switcher.xml"/>
diff --git a/src/adw-swipeable.c b/src/adw-swipeable.c
index 0e4e7bd..5ab520a 100644
--- a/src/adw-swipeable.c
+++ b/src/adw-swipeable.c
@@ -12,10 +12,9 @@
  * SECTION:adw-swipeable
  * @short_description: An interface for swipeable widgets.
  * @title: AdwSwipeable
- * @See_also: #AdwCarousel, #AdwLeaflet, #AdwSwipeGroup
+ * @See_also: #AdwCarousel, #AdwLeaflet
  *
- * The #AdwSwipeable interface is implemented by all swipeable widgets. They
- * can be synced using #AdwSwipeGroup.
+ * The #AdwSwipeable interface is implemented by all swipeable widgets.
  *
  * See #AdwSwipeTracker for details about implementing it.
  *
@@ -240,9 +239,6 @@ adw_swipeable_get_cancel_progress (AdwSwipeable *self)
  * for example, to only allow edge swipes, or to have a draggable element and
  * ignore swipes elsewhere.
  *
- * Swipe area is only considered for direct swipes (as in, not initiated by
- * #AdwSwipeGroup).
- *
  * If not implemented, the default implementation returns the allocation of
  * @self, allowing swipes from anywhere.
  *
diff --git a/src/adwaita.h b/src/adwaita.h
index 5a0aa4e..1f0600b 100644
--- a/src/adwaita.h
+++ b/src/adwaita.h
@@ -48,7 +48,6 @@ G_BEGIN_DECLS
 #include "adw-preferences-window.h"
 #include "adw-squeezer.h"
 #include "adw-status-page.h"
-#include "adw-swipe-group.h"
 #include "adw-swipe-tracker.h"
 #include "adw-swipeable.h"
 #include "adw-types.h"
diff --git a/src/meson.build b/src/meson.build
index cc974fb..9fbaea9 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -91,7 +91,6 @@ src_headers = [
   'adw-preferences-window.h',
   'adw-squeezer.h',
   'adw-status-page.h',
-  'adw-swipe-group.h',
   'adw-swipe-tracker.h',
   'adw-swipeable.h',
   'adw-types.h',
@@ -144,7 +143,6 @@ src_sources = [
   'adw-shadow-helper.c',
   'adw-squeezer.c',
   'adw-status-page.c',
-  'adw-swipe-group.c',
   'adw-swipe-tracker.c',
   'adw-swipeable.c',
   'adw-value-object.c',
diff --git a/tests/meson.build b/tests/meson.build
index 5988c41..0f0a29f 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -38,7 +38,6 @@ test_names = [
   'test-preferences-window',
   'test-squeezer',
   'test-status-page',
-  'test-swipe-group',
   'test-value-object',
   'test-view-switcher',
   'test-view-switcher-bar',


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