diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index 9d26463be..39973c5cf 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -7065,6 +7065,12 @@ parse_units (ClutterActor *self, goto out; } + if (strcmp (end, "em") == 0) + { + retval = CLUTTER_UNITS_FROM_EM (val); + goto out; + } + if (strcmp (end, "mm") == 0) { retval = CLUTTER_UNITS_FROM_MM (val);