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



commit 8471b4d5328c5366504aee9b848d2a9a020d4b10
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 3372656..5b9d26b 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -10279,7 +10279,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]