From f8454fa5e41b3944a759c9491ea734e6ae85a8ea Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Fri, 5 Oct 2007 11:55:36 +0300 Subject: [PATCH] Check for HILDON_AUTOCAP before use --- src/route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5