[libadwaita/wip/exalm/tab-fixes: 1/4] tab-box: Move scroll_animation_done_cb() to scroll_animation_cb()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/tab-fixes: 1/4] tab-box: Move scroll_animation_done_cb() to scroll_animation_cb()
- Date: Mon, 11 Apr 2022 12:44:49 +0000 (UTC)
commit 35ab1372e321f43f1a17a77e880a8f4f948980f3
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Apr 11 16:01:17 2022 +0400
tab-box: Move scroll_animation_done_cb() to scroll_animation_cb()
src/adw-tab-box.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/adw-tab-box.c b/src/adw-tab-box.c
index cda21871..5740d1ae 100644
--- a/src/adw-tab-box.c
+++ b/src/adw-tab-box.c
@@ -848,12 +848,6 @@ adjustment_value_changed_cb (AdwTabBox *self)
gtk_widget_queue_allocate (GTK_WIDGET (self));
}
-static void
-scroll_animation_done_cb (AdwTabBox *self)
-{
- self->scroll_animation_done = TRUE;
-}
-
static void
animate_scroll (AdwTabBox *self,
TabInfo *info,
@@ -983,6 +977,12 @@ scroll_animation_cb (double value,
gtk_widget_queue_resize (self);
}
+static void
+scroll_animation_done_cb (AdwTabBox *self)
+{
+ self->scroll_animation_done = TRUE;
+}
+
/* Reordering */
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]