aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-02-28 18:17:46 +0800
committerXan Lopez <xan@src.gnome.org>2009-02-28 18:17:46 +0800
commitd68e5b3261be67d57eee2da5cab4d3428434e6cb (patch)
treebd28f975751f86d044720afeed2c097697eacf85 /embed
parentaf49861cc569d77cab3469fd362cff19d24df49b (diff)
downloadgsoc2013-epiphany-d68e5b3261be67d57eee2da5cab4d3428434e6cb.tar
gsoc2013-epiphany-d68e5b3261be67d57eee2da5cab4d3428434e6cb.tar.gz
gsoc2013-epiphany-d68e5b3261be67d57eee2da5cab4d3428434e6cb.tar.bz2
gsoc2013-epiphany-d68e5b3261be67d57eee2da5cab4d3428434e6cb.tar.lz
gsoc2013-epiphany-d68e5b3261be67d57eee2da5cab4d3428434e6cb.tar.xz
gsoc2013-epiphany-d68e5b3261be67d57eee2da5cab4d3428434e6cb.tar.zst
gsoc2013-epiphany-d68e5b3261be67d57eee2da5cab4d3428434e6cb.zip
Remove get_backend function, there's only one possibility now.
svn path=/trunk/; revision=8825
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-single.c17
-rw-r--r--embed/ephy-embed-single.h2
-rw-r--r--embed/webkit/webkit-embed-single.c9
3 files changed, 0 insertions, 28 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 9d4c210c1..f24fef1c6 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -288,20 +288,3 @@ ephy_embed_single_open_window (EphyEmbedSingle *single,
EphyEmbedSingleIface *iface = EPHY_EMBED_SINGLE_GET_IFACE (single);
return iface->open_window (single, parent, address, name, features);
}
-
-/**
- * ephy_embed_single_get_backend_name
- * @single: the #EphyEmbedSingle
- *
- * Can be used to find the particular backend that is being used
- * for rendering pages.
- *
- * Returns: the name of the backend. Valid returns are "gecko-1.7",
- * "gecko-1.8", "gecko-1.9" and "WebKit"
- */
-const char *
-ephy_embed_single_get_backend_name (EphyEmbedSingle *single)
-{
- EphyEmbedSingleIface *iface = EPHY_EMBED_SINGLE_GET_IFACE (single);
- return iface->get_backend_name (single);
-}
diff --git a/embed/ephy-embed-single.h b/embed/ephy-embed-single.h
index e4d0e0e19..8ae5d92cb 100644
--- a/embed/ephy-embed-single.h
+++ b/embed/ephy-embed-single.h
@@ -101,8 +101,6 @@ gboolean ephy_embed_single_get_network_status (EphyEmbedSingle *single);
GList *ephy_embed_single_get_font_list (EphyEmbedSingle *single,
const char *lang_group);
-const char *ephy_embed_single_get_backend_name (EphyEmbedSingle *single);
-
G_END_DECLS
#endif
diff --git a/embed/webkit/webkit-embed-single.c b/embed/webkit/webkit-embed-single.c
index 60e4c5a4d..9363e2377 100644
--- a/embed/webkit/webkit-embed-single.c
+++ b/embed/webkit/webkit-embed-single.c
@@ -128,14 +128,6 @@ impl_get_network_status (EphyEmbedSingle *esingle)
return WEBKIT_EMBED_SINGLE (esingle)->priv->online;
}
-static const char *
-impl_get_backend_name (EphyEmbedSingle *esingle)
-{
- /* If you alter the return values here, remember to update
- * the docs in ephy-embed-single.c */
- return "WebKit";
-}
-
static GList *
impl_get_font_list (EphyEmbedSingle *shell,
const char *langGroup)
@@ -325,7 +317,6 @@ ephy_embed_single_iface_init (EphyEmbedSingleIface *iface)
iface->get_network_status = impl_get_network_status;
iface->get_font_list = impl_get_font_list;
iface->open_window = impl_open_window;
- iface->get_backend_name = impl_get_backend_name;
}
static void