Commit 46e4d22c authored by Christian Dywan's avatar Christian Dywan Committed by Christian Dywan

Bug 561504 – testgtk should load rc file from sub folder

2008-11-26  Christian Dywan  <christian@imendio.com>

	Bug 561504 – testgtk should load rc file from sub folder

	* tests/testgtk.c (main):
        Make testgtk look in subfolder and warn if not found

svn path=/trunk/; revision=21809
parent 2c839600
2008-11-26 Christian Dywan <christian@imendio.com>
Bug 561504 – testgtk should load rc file from sub folder
* tests/testgtk.c (main):
Make testgtk look in subfolder and warn if not found
2008-11-25 Johan Dahlin <jdahlin@async.com.br>
Bug 559947 – Unchecked dependency on python>=2.4
......
......@@ -13895,6 +13895,10 @@ main (int argc, char *argv[])
*/
if (file_exists ("testgtkrc"))
gtk_rc_add_default_file ("testgtkrc");
else if (file_exists ("tests/testgtkrc"))
gtk_rc_add_default_file ("tests/testgtkrc");
else
g_warning ("Couldn't find file \"testgtkrc\".");
g_set_application_name ("GTK+ Test Program");
......
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