Commit 4fd5b6a0 authored by Marco Trevisan's avatar Marco Trevisan 🎺

display: Ensure equality between DisplayDirection and Direction

Since we have already generic definitions we can reuse them ensuring we can
safely cast from one to the other.
parent b7b6e2fc
......@@ -226,10 +226,10 @@ void meta_display_set_cursor (MetaDisplay *display,
*/
typedef enum
{
META_DISPLAY_UP,
META_DISPLAY_DOWN,
META_DISPLAY_LEFT,
META_DISPLAY_RIGHT
META_DISPLAY_UP = META_DIRECTION_UP,
META_DISPLAY_DOWN = META_DIRECTION_DOWN,
META_DISPLAY_LEFT = META_DIRECTION_LEFT,
META_DISPLAY_RIGHT = META_DIRECTION_RIGHT,
} MetaDisplayDirection;
META_EXPORT
......
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