Add debug note for text direction

It would be nice to have the text direction inside the debug log.
This commit is contained in:
Emmanuele Bassi 2012-09-19 11:39:41 +01:00
parent 26eb599997
commit 4578a87d1d

View File

@ -769,6 +769,9 @@ clutter_get_text_direction (void)
g_warning ("Whoever translated default:LTR did so wrongly.");
}
CLUTTER_NOTE (MISC, "Text direction: %s",
dir == CLUTTER_TEXT_DIRECTION_RTL ? "rtl" : "ltr");
return dir;
}