[gtk+/gtk-style-context: 373/533] testgtk: Try to locate the right file.



commit a87be73ef8b0077adb66a3d8dba108120146fff5
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Nov 13 23:18:44 2010 +0100

    testgtk: Try to locate the right file.

 tests/testgtk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index abfd127..29f5dc4 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -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\".");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]