[libadwaita/wip/exalm/outline: 2/2] shadow-helper: Correctly allocate outline node




commit 161249fa953fb06a146d8d22612711707ede1ea9
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.

 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 11b06386..8b93071a 100644
--- a/src/adw-shadow-helper.c
+++ b/src/adw-shadow-helper.c
@@ -274,7 +274,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]