From 753f2dac6abe1f2365760f441afbe66b61872bad Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 10 Apr 2008 14:16:52 +0300 Subject: [PATCH] Fix build for OS2006/7, hildon_helper_set_thumb_scrollbar() is only available under new hildon libs --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index 28297b0..08cc4b4 100644 --- a/src/search.c +++ b/src/search.c @@ -291,7 +291,7 @@ gtk_box_pack_start(GTK_BOX(hbox), btn_search, FALSE, FALSE, 0); sw = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_ETCHED_IN); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); -#ifdef WITH_DEVICE_770 +#if defined(WITH_DEVICE_770) && defined(WITH_HILDON_NEW) hildon_helper_set_thumb_scrollbar(sw, TRUE); #endif gtk_box_pack_start(GTK_BOX(GTK_DIALOG(sd.dialog)->vbox), sw, TRUE, TRUE, 0); -- 2.39.5