aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorCrispin Flowerday <gnome@flowerday.cx>2005-01-16 00:47:39 +0800
committerCrispin Flowerday <crispin@src.gnome.org>2005-01-16 00:47:39 +0800
commit984bb65c96c5f310313557eca924e9ba73adb8b9 (patch)
tree747ec7df39db2c7a04b49f286e9160ff71da0af8 /src/ephy-shell.c
parentbfb0471ca2ed4decec07d4cefe1498ccd397dbea (diff)
downloadgsoc2013-epiphany-984bb65c96c5f310313557eca924e9ba73adb8b9.tar
gsoc2013-epiphany-984bb65c96c5f310313557eca924e9ba73adb8b9.tar.gz
gsoc2013-epiphany-984bb65c96c5f310313557eca924e9ba73adb8b9.tar.bz2
gsoc2013-epiphany-984bb65c96c5f310313557eca924e9ba73adb8b9.tar.lz
gsoc2013-epiphany-984bb65c96c5f310313557eca924e9ba73adb8b9.tar.xz
gsoc2013-epiphany-984bb65c96c5f310313557eca924e9ba73adb8b9.tar.zst
gsoc2013-epiphany-984bb65c96c5f310313557eca924e9ba73adb8b9.zip
Add a function to get the default ephy_shell, this makes it easier for
2005-01-15 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-shell.c (ephy_shell_get_default): * src/ephy-shell.h: Add a function to get the default ephy_shell, this makes it easier for bindings to get it.
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 235cdc3f5..a05d0a759 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -499,6 +499,20 @@ ephy_shell_finalize (GObject *object)
LOG ("Ephy shell finalized")
}
+
+/**
+ * ephy_shell_get_default:
+ *
+ * Retrieve the default #EphyShell object
+ *
+ * ReturnValue: the default #EphyShell
+ **/
+EphyShell *
+ephy_shell_get_default (void)
+{
+ return ephy_shell;
+}
+
EphyShell *
ephy_shell_new (void)
{