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:
Matthias Clasen 2014-02-07 20:25:12 -05:00
parent bfe8a354cd
commit c823498b4c

View File

@ -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;