diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-04-12 10:48:23 +0000 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-04-12 10:48:23 +0000 |
commit | 9926fe86f87d9dce7da36276505e2634e64918e7 (patch) | |
tree | 9c9fb734d40c99a2a7d0dc1d96d7c7612d484d4e | |
parent | 44f91abfd9863536d296283a23775420fa88111b (diff) | |
download | yelp-9926fe86f87d9dce7da36276505e2634e64918e7.tar.gz |
Define MOZILLA_INTERNAL_API, which is necessary since mozilla 1.8b2,
2005-04-08 Christian Persch <chpe@cvs.gnome.org>
* configure.in: Define MOZILLA_INTERNAL_API, which is necessary since
mozilla 1.8b2, because Yelp uses internal strings.
* src/yelp-gecko-utils.cpp: Include config.h here.
Fixes bug #173053.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.in | 3 | ||||
-rw-r--r-- | src/yelp-gecko-utils.cpp | 2 |
3 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2005-04-08 Christian Persch <chpe@cvs.gnome.org> + + * configure.in: Define MOZILLA_INTERNAL_API, which is necessary since + mozilla 1.8b2, because Yelp uses internal strings. + * src/yelp-gecko-utils.cpp: Include config.h here. + Fixes bug #173053. + 2005-04-01 Adi Attar <aattar@cvs.gnome.org> * configure.in: Added "xh" to ALL_LINGUAS. diff --git a/configure.in b/configure.in index 51891e3f..0b72feb6 100644 --- a/configure.in +++ b/configure.in @@ -136,6 +136,9 @@ AC_SUBST(MOZILLA_INCLUDE_ROOT) MOZILLA_HOME="`$PKG_CONFIG --variable=libdir $MOZILLA-gtkmozembed`" AC_SUBST(MOZILLA_HOME) +dnl Needed since gecko 1.8b2 +AC_DEFINE([MOZILLA_INTERNAL_API],[1],[Define to have access to internal Mozilla APIs]) + AC_ARG_ENABLE([cpp-rtti], AC_HELP_STRING([--enable-cpp-rtti],[Enable C++ RTTI]),[], [enable_cpp_rtti=no]) diff --git a/src/yelp-gecko-utils.cpp b/src/yelp-gecko-utils.cpp index 85ef8001..5bc1cd91 100644 --- a/src/yelp-gecko-utils.cpp +++ b/src/yelp-gecko-utils.cpp @@ -20,6 +20,8 @@ * Author: Marco Pesenti Gritti <marco@gnome.org> */ +#include "config.h" + #include <gtkmozembed.h> #include <gtkmozembed_internal.h> #include <nsIWebBrowser.h> |