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.
This commit is contained in:
Alx Sa 2023-04-22 03:01:16 +00:00
parent d8c0ddf95f
commit a05213f82a

View file

@ -218,7 +218,7 @@ gimp_frame_get_label_spacing (GimpFrame *frame)
(g_object_get_data (G_OBJECT (frame), GIMP_FRAME_IN_EXPANDER_KEY))) (g_object_get_data (G_OBJECT (frame), GIMP_FRAME_IN_EXPANDER_KEY)))
{ {
gtk_widget_style_get (GTK_WIDGET (frame), gtk_widget_style_get (GTK_WIDGET (frame),
"label_spacing", &spacing, "label-spacing", &spacing,
NULL); NULL);
} }