[libadwaita/libadwaita-1-0] shadow-helper: Correctly allocate outline node



commit a2f0ac1a35931217c3509163241ad9f10de9386b
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Jul 28 21:50:11 2022 +0400

    shadow-helper: Correctly allocate outline node
    
    Fix a copy-paste error.
    
    
    (cherry picked from commit 161249fa953fb06a146d8d22612711707ede1ea9)
    
    (cherry picked from commit b6cc4cac7b4b63972addf8ba5dd37daed1655bfe)

 src/adw-shadow-helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/adw-shadow-helper.c b/src/adw-shadow-helper.c
index a41860c7..4fa46d78 100644
--- a/src/adw-shadow-helper.c
+++ b/src/adw-shadow-helper.c
@@ -276,7 +276,7 @@ adw_shadow_helper_size_allocate (AdwShadowHelper *self,
                          gsk_transform_translate (NULL, &GRAPHENE_POINT_INIT (x, y + height - shadow_size)));
     gtk_widget_allocate (self->border, MAX (width, border_size), border_size, baseline,
                          gsk_transform_translate (NULL, &GRAPHENE_POINT_INIT (x, y + height - border_size)));
-    gtk_widget_allocate (self->border, MAX (width, outline_size), outline_size, baseline,
+    gtk_widget_allocate (self->outline, MAX (width, outline_size), outline_size, baseline,
                          gsk_transform_translate (NULL, &GRAPHENE_POINT_INIT (x, y + height)));
     break;
   default:


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