r15792 - gnucash/trunk/src/app-utils - Minor cleanup and doc string in gnc-help-utils.[ch].

Andreas Köhler andi5 at cvs.gnucash.org
Wed Apr 4 11:41:50 EDT 2007


Author: andi5
Date: 2007-04-04 11:41:48 -0400 (Wed, 04 Apr 2007)
New Revision: 15792
Trac: http://svn.gnucash.org/trac/changeset/15792

Modified:
   gnucash/trunk/src/app-utils/gnc-help-utils.c
   gnucash/trunk/src/app-utils/gnc-help-utils.h
Log:
Minor cleanup and doc string in gnc-help-utils.[ch].


Modified: gnucash/trunk/src/app-utils/gnc-help-utils.c
===================================================================
--- gnucash/trunk/src/app-utils/gnc-help-utils.c	2007-04-04 04:58:07 UTC (rev 15791)
+++ gnucash/trunk/src/app-utils/gnc-help-utils.c	2007-04-04 15:41:48 UTC (rev 15792)
@@ -35,7 +35,7 @@
 static GHashTable *
 parse_hhmap_file(const gchar *chmfile)
 {
-	gchar *mapfile = NULL, *dot;
+    gchar *mapfile = NULL, *dot;
     GKeyFile *keyfile = NULL;
     GError *error = NULL;
     gchar **keys = NULL, **key;

Modified: gnucash/trunk/src/app-utils/gnc-help-utils.h
===================================================================
--- gnucash/trunk/src/app-utils/gnc-help-utils.h	2007-04-04 04:58:07 UTC (rev 15791)
+++ gnucash/trunk/src/app-utils/gnc-help-utils.h	2007-04-04 15:41:48 UTC (rev 15792)
@@ -23,14 +23,14 @@
 #ifndef __GNC_HELP_UTILS_H__
 #define __GNC_HELP_UTILS_H__
 
-#include "config.h"
-#include <glibconfig.h>
+/** Launch HTML Help Viewer and open a given CHM file.  Use HtmlHelpW
+ *  if available, or fallback to spawning hh.exe.  Possibly scroll to a
+ *  given anchor within the document.
+ *
+ *  @param chmfile The name of CHM help file to be opened.
+ *
+ *  @param anchor The anchor the help browser should scroll to.
+ */
+void gnc_show_htmlhelp(const gchar *chmfile, const gchar *anchor);
 
-#ifdef G_OS_WIN32
-
-void
-gnc_show_htmlhelp(const gchar *chmfile, const gchar *anchor);
-
-#endif /* G_OS_WIN32 */
-
 #endif /* __GNC_HELP_UTILS_H__ */



More information about the gnucash-changes mailing list