Commit 4439453b authored by Bastien Nocera's avatar Bastien Nocera

widget: Fix margin-start and margin-end properties

The margin-start and margin-end properties were incorrectly
defined, so margins weren't respected for RTL languages.

https://bugzilla.gnome.org/show_bug.cgi?id=723627
parent 49597950
......@@ -1434,7 +1434,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
* Since: 3.12
*/
g_object_class_install_property (gobject_class,
PROP_MARGIN_LEFT,
PROP_MARGIN_START,
g_param_spec_int ("margin-start",
P_("Margin on Start"),
P_("Pixels of extra space on the start"),
......@@ -1455,7 +1455,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
* Since: 3.12
*/
g_object_class_install_property (gobject_class,
PROP_MARGIN_RIGHT,
PROP_MARGIN_END,
g_param_spec_int ("margin-end",
P_("Margin on End"),
P_("Pixels of extra space on the end"),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment