aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.c
diff options
context:
space:
mode:
authorCrispin Flowerday <gnome@flowerday.cx>2006-01-30 05:09:53 +0800
committerCrispin Flowerday <crispin@src.gnome.org>2006-01-30 05:09:53 +0800
commitc488b4e9aca045965156e425129a6be95637da98 (patch)
tree28b83ee496865cd7c212600bc772fd312f154da7 /embed/ephy-embed-single.c
parent94d9003fe9bab749eb4dba5a9bcf66721fb421cd (diff)
downloadgsoc2013-epiphany-c488b4e9aca045965156e425129a6be95637da98.tar
gsoc2013-epiphany-c488b4e9aca045965156e425129a6be95637da98.tar.gz
gsoc2013-epiphany-c488b4e9aca045965156e425129a6be95637da98.tar.bz2
gsoc2013-epiphany-c488b4e9aca045965156e425129a6be95637da98.tar.lz
gsoc2013-epiphany-c488b4e9aca045965156e425129a6be95637da98.tar.xz
gsoc2013-epiphany-c488b4e9aca045965156e425129a6be95637da98.tar.zst
gsoc2013-epiphany-c488b4e9aca045965156e425129a6be95637da98.zip
Add a function (ephy_embed_single_get_backend_name) to get the backend
2006-01-29 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-single.c: (ephy_embed_single_get_backend_name): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: * src/epiphany.defs: Add a function (ephy_embed_single_get_backend_name) to get the backend that epiphany is using.
Diffstat (limited to 'embed/ephy-embed-single.c')
-rw-r--r--embed/ephy-embed-single.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 33831f157..3cd07570c 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -289,3 +289,20 @@ 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" and "gecko-1.9"
+ */
+const char *
+ephy_embed_single_get_backend_name (EphyEmbedSingle *single)
+{
+ EphyEmbedSingleIface *iface = EPHY_EMBED_SINGLE_GET_IFACE (single);
+ return iface->get_backend_name (single);
+}