summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Smith <bmsmith@src.gnome.org>2006-01-14 23:50:20 +0000
committerBrent Smith <bmsmith@src.gnome.org>2006-01-14 23:50:20 +0000
commitc6a4fb411362865facb2e7515fa87767ef11d9d8 (patch)
treee5cbd8d089e354cefdecb289d80de9c5408f22c4
parent1307bd4ef1a86c16c17da1fe297792e31f537f6b (diff)
downloadyelp-c6a4fb411362865facb2e7515fa87767ef11d9d8.tar.gz
Brent Smith <gnome@nextreality.net>
Brent Smith <gnome@nextreality.net> * configure.in: * src/yelp-man-parser.c: * src/yelp-toc-pager.c: (toc_process_pending): fixed some more compiler warnings, and added a summary of configuration parameters at the end of configure.in; Hopefully this will help us track down problems with search if people are reporting bugs, but don't know whether they are using Beagle or the basic search support.
-rw-r--r--ChangeLog11
-rw-r--r--configure.in18
-rw-r--r--src/yelp-man-parser.c5
-rw-r--r--src/yelp-toc-pager.c2
4 files changed, 29 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index e99c39f6..87016f4a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2006-01-14 Brent Smith <gnome@nextreality.net>
+
+ * configure.in:
+ * src/yelp-man-parser.c:
+ * src/yelp-toc-pager.c: (toc_process_pending):
+ fixed some more compiler warnings, and added a summary of
+ configuration parameters at the end of configure.in;
+ Hopefully this will help us track down problems with search
+ if people are reporting bugs, but don't know whether they
+ are using Beagle or the basic search support.
+
2006-01-13 Brent Smith <gnome@nextreality.net>
* src/yelp-db-print-pager.c: (db_print_pager_parse):
diff --git a/configure.in b/configure.in
index 27fce60d..d8030961 100644
--- a/configure.in
+++ b/configure.in
@@ -147,7 +147,7 @@ case "x$with_search" in
AC_DEFINE(ENABLE_SEARCH, 1, [Define if you want any search])
;;
"xbeagle")
- AC_DEFINE(ENABLE_SEARCH, 1, [Define if you any search])
+ AC_DEFINE(ENABLE_SEARCH, 1, [Define if you want any search])
AC_DEFINE(ENABLE_BEAGLE, 1, [Define if you want the power of Beagle])
;;
"xno")
@@ -266,3 +266,19 @@ yelp.desktop.in
])
AC_OUTPUT
+
+dnl ==========================================================================
+echo "
+yelp-$VERSION:
+
+ prefix: ${prefix}
+ source code location: ${srcdir}
+ compiler: ${CC}
+
+ Debug enabled: ${enable_debug}
+ Man Pages enabled: ${enable_man}
+ Info Pages enabled: ${enable_info}
+ Beagle available: ${have_beagle}
+ Search backend: ${with_search}
+ Mozilla version: ${MOZILLA}
+"
diff --git a/src/yelp-man-parser.c b/src/yelp-man-parser.c
index f4114315..be9e0dd8 100644
--- a/src/yelp-man-parser.c
+++ b/src/yelp-man-parser.c
@@ -873,11 +873,6 @@ macro_mandoc_listitem_handler (YelpManParser *parser, gchar *macro, GSList *args
parser_stack_push_node (parser, parser->ins);
}
-static void
-macro_template_handler (YelpManParser *parser, gchar *macro, GSList *args)
-{
-}
-
/* the handler functions for each macro all have this form:
* - the calling function, parser_handle_linetag owns the "macro", and "args"
* parameters, so do not free them.
diff --git a/src/yelp-toc-pager.c b/src/yelp-toc-pager.c
index 9cb34eb2..6b193df4 100644
--- a/src/yelp-toc-pager.c
+++ b/src/yelp-toc-pager.c
@@ -351,7 +351,7 @@ toc_process_pending (YelpTocPager *pager)
{
gboolean readd;
YelpTocPagerPriv *priv = pager->priv;
- static gpointer process_funcs[] = {
+ static ProcessFunction process_funcs[] = {
process_read_menu,
process_read_scrollkeeper,
process_omf_pending,