From f273eca7e36e54241a3eb018e8d3cf68fe320639 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 29 Mar 2019 10:57:51 -0400 Subject: [PATCH] revealer: Add a missing break This was showing up as the slide-down transition being broken. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1790 --- gtk/gtkrevealer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkrevealer.c b/gtk/gtkrevealer.c index 6dc84603c8..90e1b7d55d 100644 --- a/gtk/gtkrevealer.c +++ b/gtk/gtkrevealer.c @@ -410,6 +410,7 @@ gtk_revealer_real_size_allocate (GtkWidget *widget, case GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN: transform = gsk_transform_translate (transform, &GRAPHENE_POINT_INIT (0, height - child_height)); + break; case GTK_REVEALER_TRANSITION_TYPE_SWING_LEFT: transform = gsk_transform_translate (transform, &GRAPHENE_POINT_INIT (width, height / 2));