summaryrefslogtreecommitdiff
path: root/libgweather/test_locations.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgweather/test_locations.c')
-rw-r--r--libgweather/test_locations.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgweather/test_locations.c b/libgweather/test_locations.c
index fcb39f9..b03375e 100644
--- a/libgweather/test_locations.c
+++ b/libgweather/test_locations.c
@@ -37,6 +37,10 @@ main (int argc, char **argv)
GtkWidget *combo;
gtk_init (&argc, &argv);
+ g_setenv ("LIBGWEATHER_LOCATIONS_PATH",
+ TEST_SRCDIR "../data/Locations.xml",
+ FALSE);
+
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window), "location");
gtk_container_set_border_width (GTK_CONTAINER (window), 8);