#include <getopt.h>
-#ifdef G_OS_WIN32
-gchar *package_prefix;
-gchar *package_data_dir;
-#endif
-gchar *package_locale_dir;
static char *smyrnaDir; /* path to directory containin smyrna data files */
char *smyrnaGlade;
}
load_attributes();
+ gchar *package_locale_dir;
#ifdef G_OS_WIN32
- package_prefix =
+ gchar *package_prefix =
g_win32_get_package_installation_directory(NULL, NULL);
- package_data_dir = g_build_filename(package_prefix, "share", NULL);
+ gchar *package_data_dir = g_build_filename(package_prefix, "share", NULL);
package_locale_dir =
g_build_filename(package_prefix, "share", "locale", NULL);
#else
# define Q_(String) g_strip_context ((String), (String))
# define N_(String) (String)
#endif
-
-/* These variables define various paths detected at runtime. */
-extern gchar *package_prefix;
-extern gchar *package_data_dir;
-extern gchar *package_locale_dir;