mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Remove usage of Units and macros
The ClutterUnit and relative macros should not be used when dealing with pixels -- which is to say, all the time when inside Clutter.
This commit is contained in:
@ -103,11 +103,11 @@ clutter_backend_dispose (GObject *gobject)
|
||||
G_OBJECT_CLASS (clutter_backend_parent_class)->dispose (gobject);
|
||||
}
|
||||
|
||||
static ClutterUnit
|
||||
static gfloat
|
||||
get_units_per_em (ClutterBackend *backend,
|
||||
PangoFontDescription *font_desc)
|
||||
{
|
||||
ClutterUnit units_per_em = -1.0;
|
||||
gfloat units_per_em = -1.0;
|
||||
gboolean free_font_desc = FALSE;
|
||||
gdouble dpi;
|
||||
|
||||
|
Reference in New Issue
Block a user