diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-03-29 10:57:51 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-03-29 10:57:51 -0400 |
commit | f273eca7e36e54241a3eb018e8d3cf68fe320639 (patch) | |
tree | 3ae96ef20c20c2958b98a7ca184926a53e18466f | |
parent | 53a28f7672741588898ebbe3be1069b8ab49a1d1 (diff) | |
download | gtk+-f273eca7e36e54241a3eb018e8d3cf68fe320639.tar.gz |
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
-rw-r--r-- | gtk/gtkrevealer.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |