Fix !srcdir build
authorMatthias Clasen <mclasen@redhat.com>
Fri, 14 May 2010 05:36:25 +0000 (01:36 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 14 May 2010 05:36:25 +0000 (01:36 -0400)
Thankfully we already had a SRCDIR define.

gio/tests/gdbus-proxy.c

index a0fabd8..bfd09c1 100644 (file)
@@ -443,7 +443,7 @@ test_proxy (void)
                                   NULL);
 
   /* this is safe; testserver will exit once the bus goes away */
-  g_assert (g_spawn_command_line_async ("./gdbus-testserver.py", NULL));
+  g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver.py", NULL));
 
   g_main_loop_run (loop);