Make testtreeview handle RTL environment variable for testing

This commit is contained in:
Kristian Rietveld 2010-12-15 21:36:47 +01:00
parent 8e98333d8b
commit 5399f7b6e6

View File

@ -709,6 +709,9 @@ main (int argc,
gtk_init (&argc, &argv); gtk_init (&argc, &argv);
if (g_getenv ("RTL"))
gtk_widget_set_default_direction (GTK_TEXT_DIR_RTL);
our_pixbuf = gdk_pixbuf_new_from_xpm_data ((const char **) book_closed_xpm); our_pixbuf = gdk_pixbuf_new_from_xpm_data ((const char **) book_closed_xpm);
#if 0 #if 0