[libhandy/wip/haecker-felix/flap-widget] Commit out swpie area for now



commit d14cd14673e9abf364c2879643607fedf70b68bd
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Nov 17 17:18:57 2020 +0500

    Commit out swpie area for now

 src/hdy-flap.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/hdy-flap.c b/src/hdy-flap.c
index 25f66bc5..d123ae48 100644
--- a/src/hdy-flap.c
+++ b/src/hdy-flap.c
@@ -946,7 +946,7 @@ hdy_flap_get_cancel_progress (HdySwipeable *swipeable)
 
   return round (self->reveal_progress);
 }
-
+/*
 static void
 hdy_flap_get_swipe_area (HdySwipeable           *swipeable,
                          HdyNavigationDirection  navigation_direction,
@@ -963,10 +963,10 @@ hdy_flap_get_swipe_area (HdySwipeable           *swipeable,
     rect->height = 0;
   }
 
-  width = gtk_widget_get_allocated_width (self->flap);
-  height = gtk_widget_get_allocated_height (self->flap);
+  rect->width = gtk_widget_get_allocated_width (self->flap);
+  rect->height = gtk_widget_get_allocated_height (self->flap);
 }
-
+*/
 static void
 hdy_flap_swipeable_init (HdySwipeableInterface *iface)
 {


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