[libadwaita/wip/exalm/outline] shadow-helper: Correctly allocate outline node
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/outline] shadow-helper: Correctly allocate outline node
- Date: Thu, 28 Jul 2022 17:50:52 +0000 (UTC)
commit 1b68a2ddc23a62e199a9ea288461c68bed490e85
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]