]> Pileus Git - ~andy/gtk/commitdiff
testgtk: Try to locate the right file.
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 13 Nov 2010 22:18:44 +0000 (23:18 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 4 Dec 2010 14:39:09 +0000 (15:39 +0100)
tests/testgtk.c

index abfd127a1c6feb5d8f6292d0a77bb2625a411bf9..29f5dc41ff4c7503a04d90245c97bbaf284f444d 100644 (file)
@@ -10210,7 +10210,7 @@ main (int argc, char *argv[])
    */
   if (file_exists ("testgtk.css"))
     gtk_css_provider_load_from_path (provider, "testgtk.css", NULL);
-  else if (file_exists ("tests/testgtkrc"))
+  else if (file_exists ("tests/testgtk.css"))
     gtk_css_provider_load_from_path (provider, "tests/testgtk.css", NULL);
   else
     g_warning ("Couldn't find file \"testgtk.css\".");