summaryrefslogtreecommitdiff
path: root/components/html/ntl-web-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/html/ntl-web-browser.c')
-rw-r--r--components/html/ntl-web-browser.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/html/ntl-web-browser.c b/components/html/ntl-web-browser.c
index c39b4a16f..c3157cc98 100644
--- a/components/html/ntl-web-browser.c
+++ b/components/html/ntl-web-browser.c
@@ -1,4 +1,3 @@
-#include <config.h>
#include <WWWCore.h>
#include <WWWStream.h>
#include <WWWTrans.h>
@@ -528,7 +527,7 @@ browser_submit(GtkWidget *htmlw, const char *method, const char *url, const char
{
g_free(bi->post_data); bi->post_data = NULL;
- if(!strcasecmp(method, "POST"))
+ if(!g_strcasecmp(method, "POST"))
{
char **pieces = g_strsplit(encoding, "&", -1);
@@ -622,9 +621,12 @@ int main(int argc, char *argv[])
(G_LOG_DOMAIN, g_log_domain_glib, "Gdk", "Gtk", "GnomeVFS", "GnomeUI", "Bonobo",
"Nautilus-HTML", "gtkhtml", NULL);
+
/* Initialize gettext support */
+#ifdef ENABLE_NLS /* sadly we need this ifdef because otherwise the following get empty statement warnings */
bindtextdomain (PACKAGE, GNOMELOCALEDIR);
textdomain (PACKAGE);
+#endif
gnome_init_with_popt_table("ntl-web-browser", VERSION,
argc, argv,