From: Kaj-Michael Lang Date: Fri, 5 Oct 2007 08:55:36 +0000 (+0300) Subject: Check for HILDON_AUTOCAP before use X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8454fa5e41b3944a759c9491ea734e6ae85a8ea;p=mapper Check for HILDON_AUTOCAP before use --- diff --git a/src/route.c b/src/route.c index a7e4e0c..cc99f5f 100644 --- a/src/route.c +++ b/src/route.c @@ -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 +#if WITH_HILDON && 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