aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2005-09-22 05:07:42 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2005-09-22 05:07:42 +0800
commit67b6bfaa168281fa2906232f70ba8ee1a1c882ee (patch)
tree75a391a375bc1009a7c72189e95ee33c6d994835 /embed/mozilla
parent95ade17d38ca045d57a50ced5a830d31a1d83343 (diff)
downloadgsoc2013-epiphany-67b6bfaa168281fa2906232f70ba8ee1a1c882ee.tar
gsoc2013-epiphany-67b6bfaa168281fa2906232f70ba8ee1a1c882ee.tar.gz
gsoc2013-epiphany-67b6bfaa168281fa2906232f70ba8ee1a1c882ee.tar.bz2
gsoc2013-epiphany-67b6bfaa168281fa2906232f70ba8ee1a1c882ee.tar.lz
gsoc2013-epiphany-67b6bfaa168281fa2906232f70ba8ee1a1c882ee.tar.xz
gsoc2013-epiphany-67b6bfaa168281fa2906232f70ba8ee1a1c882ee.tar.zst
gsoc2013-epiphany-67b6bfaa168281fa2906232f70ba8ee1a1c882ee.zip
Remove unused function.
2005-09-21 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (have_gnome_url_handler): Remove unused function.
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index 507291a4b..34cc1f0d5 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -113,7 +113,6 @@ static void ephy_cookie_manager_iface_init (EphyCookieManagerIface *iface);
static void ephy_password_manager_iface_init (EphyPasswordManagerIface *iface);
static void ephy_permission_manager_iface_init (EphyPermissionManagerIface *iface);
static void mozilla_embed_single_init (MozillaEmbedSingle *ges);
-static gboolean have_gnome_url_handler (const gchar *protocol);
static GObjectClass *parent_class = NULL;
@@ -403,30 +402,6 @@ mozilla_init_profile (void)
g_free (profile_path);
}
-static gboolean
-have_gnome_url_handler (const gchar *protocol)
-{
- gchar *key, *cmd;
- gboolean rv;
-
- key = g_strdup_printf ("/desktop/gnome/url-handlers/%s/command",
- protocol);
- cmd = eel_gconf_get_string (key);
- g_free (key);
-
- rv = (cmd != NULL && strstr (cmd, "epiphany") == NULL);
- g_free (cmd);
-
- if (!rv) return rv;
-
- key = g_strdup_printf ("/desktop/gnome/url-handlers/%s/enabled",
- protocol);
- rv = eel_gconf_get_boolean (key);
- g_free (key);
-
- return rv;
-}
-
#if defined(MOZ_NSIXULCHROMEREGISTRY_SELECTSKIN) || defined(HAVE_CHROME_NSICHROMEREGISTRYSEA_H)
static nsresult
getUILang (nsAString& aUILang)