From a05213f82a8e9923b1bae20adb50b02d9bb88c9d Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Sat, 22 Apr 2023 03:01:16 +0000 Subject: [PATCH] libgimpwidget: Fix GimpFrame line-spacing property GimpFrame has a property 'line-spacing'. gimp_frame_get_label_spacing () tried to access it as 'line_spacing', so it always returned 0. Fixing the typo should now return the true spacing value. --- libgimpwidgets/gimpframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgimpwidgets/gimpframe.c b/libgimpwidgets/gimpframe.c index 67dfba6361..93ab95c9d0 100644 --- a/libgimpwidgets/gimpframe.c +++ b/libgimpwidgets/gimpframe.c @@ -218,7 +218,7 @@ gimp_frame_get_label_spacing (GimpFrame *frame) (g_object_get_data (G_OBJECT (frame), GIMP_FRAME_IN_EXPANDER_KEY))) { gtk_widget_style_get (GTK_WIDGET (frame), - "label_spacing", &spacing, + "label-spacing", &spacing, NULL); }