Ryo SHIMIZU
furyo****@users*****
Thu Feb 23 22:30:34 JST 2006
Index: kazehakase/src/prefs_ui/prefs_history.c diff -u kazehakase/src/prefs_ui/prefs_history.c:1.9 kazehakase/src/prefs_ui/prefs_history.c:1.10 --- kazehakase/src/prefs_ui/prefs_history.c:1.9 Mon Jan 23 12:04:05 2006 +++ kazehakase/src/prefs_ui/prefs_history.c Thu Feb 23 22:30:34 2006 @@ -25,7 +25,11 @@ #include <glib/gi18n.h> #include "kazehakase.h" #include "utils/gtk-utils.h" -#include "utils/estsearch.h" +#if USE_HYPERESTRAIER +# include "utils/estsearch.h" +#elif USE_RAST +# include "utils/rast-search.h" +#endif #define DATA_KEY "KzPrefsHistory::info" @@ -100,7 +104,11 @@ gtk_widget_set_sensitive(GTK_WIDGET(button), FALSE); +#if USE_HYPERESTRAIER pid = estsearch_optimize_index(); +#elif USE_RAST + pid = rast_optimize_index(); +#endif g_child_watch_add(pid, cb_optimize_exit, button);