From d68e5b3261be67d57eee2da5cab4d3428434e6cb Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sat, 28 Feb 2009 10:17:46 +0000 Subject: Remove get_backend function, there's only one possibility now. svn path=/trunk/; revision=8825 --- embed/ephy-embed-single.c | 17 ----------------- embed/ephy-embed-single.h | 2 -- embed/webkit/webkit-embed-single.c | 9 --------- 3 files changed, 28 deletions(-) (limited to 'embed') 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 -- cgit v1.2.3