*/
#include <stdlib.h>
+#inc;ude <string>
#include "bundle_env.h"
#include "i18n.h"
void
-fixup_bundle_environment (int, char* [], const char** localedir)
+fixup_bundle_environment (int, char* [], string & localedir)
{
EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency (true));
/* what to do ? */
Glib::setenv ("GTK_LOCALEDIR", path, true);
// and return the same path to our caller
- (*localedir) = strdup (path.c_str());
+ localedir = path;
}
const char *cstr;