Make testcellarea handle RTL environment variable for testing

This commit is contained in:
Kristian Rietveld 2010-12-15 21:22:35 +01:00
parent be39883de2
commit 0112c32c5b

View File

@ -614,6 +614,9 @@ main (int argc, char *argv[])
{
gtk_init (NULL, NULL);
if (g_getenv ("RTL"))
gtk_widget_set_default_direction (GTK_TEXT_DIR_RTL);
simple_cell_area ();
focus_cell_area ();
background_area ();