#include <limits.h>
+#include "wchar_t_short.h"
#include <gtkmozembed_internal.h>
#if MOZ_VERSION_MAJOR == 1 && MOZ_VERSION_MINOR == 9
#include <gtkmozembed_glue.cpp>
#endif
+#include "wchar_t_default.h"
#include "xpcom_support.hpp"
{
#if MOZ_VERSION_MAJOR == 1 && MOZ_VERSION_MINOR == 9
static const GREVersionRange gre_versions = {
+#if MOZ_VERSION_MICRO == 0
"1.9a", PR_TRUE,
- "1.9.*", PR_TRUE
+ "1.9.1", PR_FALSE
+#elif MOZ_VERSION_MICRO == 1
+ "1.9.1", PR_TRUE,
+ "1.9.2", PR_FALSE
+#else
+#error "version is unsupported, but you could try continuing the pattern above"
+#endif
};
char path[PATH_MAX];
check(GRE_GetGREPathWithProperties(&gre_versions, 1, 0, 0,
check(XPCOMGlueStartup(path));
check(GTKEmbedGlueStartup());
+ check(GTKEmbedGlueStartupInternal());
char * last_slash = std::strrchr(path, '/');
if (last_slash != path)