]> err.no Git - mapper/commitdiff
Fix #if
authorKaj-Michael Lang <milang@onion.tal.org>
Thu, 18 Oct 2007 17:09:52 +0000 (20:09 +0300)
committerKaj-Michael Lang <milang@onion.tal.org>
Thu, 18 Oct 2007 17:09:52 +0000 (20:09 +0300)
src/route.c

index cc99f5f5c3f911a50c5e375fca464c63250fa46f..e2e339f70c3356a7df8edc122453b39964d612b2 100644 (file)
@@ -348,7 +348,7 @@ g_signal_connect(G_OBJECT(oti.rad_use_gps), "toggled", G_CALLBACK(origin_type_se
 g_signal_connect(G_OBJECT(oti.rad_use_route), "toggled", G_CALLBACK(origin_type_selected), &oti);
 g_signal_connect(G_OBJECT(oti.rad_use_text), "toggled", G_CALLBACK(origin_type_selected), &oti);
 
-#if WITH_HILDON && HILDON_AUTOCAP
+#if defined (WITH_HILDON) && defined (HILDON_AUTOCAP)
 g_object_set(G_OBJECT(oti.txt_from), HILDON_AUTOCAP, FALSE, NULL);
 g_object_set(G_OBJECT(oti.txt_to), HILDON_AUTOCAP, FALSE, NULL);
 #endif