clutter: Prefer using ClutterTextDirection
In various public APIs, Clutter used to return a PangoDirection while we have a text direction enum defined in Clutter. This allows us to drop pango dependency from meta making it specific to cogl-pango & clutter Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3531>
This commit is contained in:

committed by
Marge Bot

parent
c19eef3f5e
commit
a2397e6b80
@ -53,10 +53,10 @@ meta_keymap_native_finalize (GObject *object)
|
||||
G_OBJECT_CLASS (meta_keymap_native_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static PangoDirection
|
||||
static ClutterTextDirection
|
||||
meta_keymap_native_get_direction (ClutterKeymap *keymap)
|
||||
{
|
||||
return PANGO_DIRECTION_NEUTRAL;
|
||||
return CLUTTER_TEXT_DIRECTION_DEFAULT;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user