summaryrefslogtreecommitdiff
path: root/src/yelp-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/yelp-main.c')
-rw-r--r--src/yelp-main.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/yelp-main.c b/src/yelp-main.c
index 41e70510..c88f26f4 100644
--- a/src/yelp-main.c
+++ b/src/yelp-main.c
@@ -30,6 +30,7 @@
#include <dbus/dbus-glib-bindings.h>
#include <string.h>
#include <stdlib.h>
+#include <libxslt/xslt.h>
#ifdef WITH_SMCLIENT
#include "eggsmclient.h"
@@ -343,6 +344,7 @@ main (int argc, char **argv)
bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain(GETTEXT_PACKAGE);
+ xsltInit ();
local_id = (gchar *) g_getenv ("DESKTOP_STARTUP_ID");
@@ -393,7 +395,7 @@ main (int argc, char **argv)
}
if (!yelp_html_initialize ()) {
- g_printerr ("Could not initialize gecko!\n");
+ g_printerr ("Could not initialize HTML component\n");
exit (1);
}
@@ -414,16 +416,7 @@ main (int argc, char **argv)
if (private || !main_is_running ()) {
const gchar *env;
- /* workaround for bug #329461 */
- env = g_getenv ("MOZ_ENABLE_PANGO");
-
- if (env == NULL ||
- *env == '\0' ||
- g_str_equal(env, "0"))
- {
- g_setenv ("MOZ_DISABLE_PANGO", "1", TRUE);
- }
-
+ xsltInit ();
if (session_started) {
main_restore_session ();
} else {