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:
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user