diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-09-30 18:16:16 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-09-30 18:16:16 +0800 |
commit | 3ecbea1e22f2544b4f0e62bd23bb510f8730b53d (patch) | |
tree | cde5fe52449fe8b86079e7cb7bef1e8c72ebbdde /embed | |
parent | 12bcaf22d7fe1daea533db0d0d340981dbdcfd38 (diff) | |
download | gsoc2013-epiphany-3ecbea1e22f2544b4f0e62bd23bb510f8730b53d.tar gsoc2013-epiphany-3ecbea1e22f2544b4f0e62bd23bb510f8730b53d.tar.gz gsoc2013-epiphany-3ecbea1e22f2544b4f0e62bd23bb510f8730b53d.tar.bz2 gsoc2013-epiphany-3ecbea1e22f2544b4f0e62bd23bb510f8730b53d.tar.lz gsoc2013-epiphany-3ecbea1e22f2544b4f0e62bd23bb510f8730b53d.tar.xz gsoc2013-epiphany-3ecbea1e22f2544b4f0e62bd23bb510f8730b53d.tar.zst gsoc2013-epiphany-3ecbea1e22f2544b4f0e62bd23bb510f8730b53d.zip |
Remove explicit PAC autoconf call, it works perfectly ok without it.
2004-09-30 Christian Persch <chpe@cvs.gnome.org>
* configure.in:
* embed/mozilla/mozilla-notifiers.cpp:
Remove explicit PAC autoconf call, it works perfectly ok without it.
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/mozilla-notifiers.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/embed/mozilla/mozilla-notifiers.cpp b/embed/mozilla/mozilla-notifiers.cpp index efb2f731d..1ddfdc69f 100644 --- a/embed/mozilla/mozilla-notifiers.cpp +++ b/embed/mozilla/mozilla-notifiers.cpp @@ -105,11 +105,6 @@ mozilla_proxy_mode_notifier (GConfClient *client, GConfEntry *entry, EphyEmbedSingle *single); static void -mozilla_proxy_autoconfig_notifier (GConfClient *client, - guint cnxn_id, - GConfEntry *entry, - EphyEmbedSingle *single); -static void mozilla_proxy_mode_notifier (GConfClient *client, guint cnxn_id, GConfEntry *entry, @@ -180,8 +175,6 @@ custom_notifiers [] = (GConfClientNotifyFunc) mozilla_language_notifier }, { CONF_NETWORK_PROXY_MODE, (GConfClientNotifyFunc) mozilla_proxy_mode_notifier }, - { CONF_NETWORK_PROXY_AUTO_URL, - (GConfClientNotifyFunc) mozilla_proxy_autoconfig_notifier }, { CONF_NETWORK_CACHE_SIZE, (GConfClientNotifyFunc) mozilla_cache_size_notifier }, { CONF_SECURITY_COOKIES_ACCEPT, @@ -356,29 +349,6 @@ mozilla_font_notifier (GConfClient *client, } static void -mozilla_proxy_autoconfig_notifier (GConfClient *client, - guint cnxn_id, - GConfEntry *entry, - EphyEmbedSingle *single) -{ - nsCOMPtr<nsIProtocolProxyService> pps = - do_GetService ("@mozilla.org/network/protocol-proxy-service;1"); - if (!pps) return; - - char *url = eel_gconf_get_string (entry->key); - if (url && url[0] != '\0') - { -#ifdef MOZ_NSIPROTOCOLPROXYSERVICE_NSACSTRING_ - pps->ConfigureFromPAC (nsEmbedCString (url)); -#else - pps->ConfigureFromPAC (url); -#endif - } - - g_free (url); -} - -static void add_notification_and_notify (GConfClient *client, const char *key, GConfClientNotifyFunc func, |