forked from AuroraMiddleware/gtk
Fix margin-start/end property implementation
The properties are declared read-write, but only the setter was hooked up. This was leading to criticals in test apps using the prop-editor.c code. Complete the implementation by adding the getter side too.
This commit is contained in:
parent
bfe8a354cd
commit
c823498b4c
@ -3909,6 +3909,12 @@ gtk_widget_get_property (GObject *object,
|
||||
g_value_set_int (value, gtk_widget_get_margin_right (widget));
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS;
|
||||
break;
|
||||
case PROP_MARGIN_START:
|
||||
g_value_set_int (value, gtk_widget_get_margin_start (widget));
|
||||
break;
|
||||
case PROP_MARGIN_END:
|
||||
g_value_set_int (value, gtk_widget_get_margin_end (widget));
|
||||
break;
|
||||
case PROP_MARGIN_TOP:
|
||||
g_value_set_int (value, gtk_widget_get_margin_top (widget));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user