Initialize Gnome libraries before booting guile.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12942 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Chris Shoemaker
2006-01-22 23:12:15 +00:00
parent e7d824371a
commit dc3bcabbb8
5 changed files with 11 additions and 88 deletions

View File

@@ -35,26 +35,8 @@
#ifndef GNC_GNOME_UTILS_H
#define GNC_GNOME_UTILS_H
#ifdef LIBGUILEH
/** Initialize the Gnome libraries.
*
* @param arg0 The running application as it appears to a user.
*
* @param program The compiled name of the application. "gnucash"
*
* @param version The program version. (e.g. 1.8.7)
*
* @param command_line A scheme list containing all of the command
* line arguments (or all of the arguments notyet pasrsed in scheme).
*
* @return The initial command_line argument minus any arguments
* parsed by this function.
*/
SCM gnc_gnome_init (const char * arg0,
const char * progname,
const char * version,
SCM command_line);
#endif
/** Initialize the Gnome libraries. */
void gnc_gnome_init (int argc, char **argv, const char * version);
/** Shutdown/cleanup any gnome related libraries. */
void gnc_gnome_shutdown (void);