# include "config.h"
#endif
+#include "defs.h"
+#include <stdlib.h>
#include <glib.h>
#if HAVE_LOCALE_H
#include "sylpheed.h"
#include "intl.h"
-#include "defs.h"
#include "utils.h"
#include "ssl.h"
#include "version.h"
parse_parameter(argc, argv);
+ debug_print("Starting sylpheed version %08x\n", VERSION_NUMERIC);
+
setlocale(LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset (PACKAGE, "UTF-8");
textdomain(PACKAGE);
+ putenv("G_BROKEN_FILENAMES=1");
/* backup if old rc file exists */
if (is_file_exist(RC_DIR)) {
return TRUE;
}
-void sylpheed_done()
+void sylpheed_done(void)
{
plugin_unload_all("Common");
#endif
}
-const gchar *sylpheed_get_startup_dir()
+const gchar *sylpheed_get_startup_dir(void)
{
return startup_dir;
}
+
+guint sylpheed_get_version(void)
+{
+ return VERSION_NUMERIC;
+}