aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-shell.c13
-rw-r--r--embed/ephy-embed-shell.h2
2 files changed, 15 insertions, 0 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 438dd546b..43e7fb692 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -258,3 +258,16 @@ ephy_embed_shell_class_init (EphyEmbedShellClass *klass)
g_type_class_add_private (object_class, sizeof (EphyEmbedShellPrivate));
}
+
+/**
+ * ephy_embed_shell_get_default:
+ *
+ * Retrieves the default #EphyEmbedShell object
+ *
+ * ReturnValue: the default #EphyEmbedShell
+ **/
+EphyEmbedShell *
+ephy_embed_shell_get_default (void)
+{
+ return embed_shell;
+}
diff --git a/embed/ephy-embed-shell.h b/embed/ephy-embed-shell.h
index d5369749c..3e10d1b5d 100644
--- a/embed/ephy-embed-shell.h
+++ b/embed/ephy-embed-shell.h
@@ -59,6 +59,8 @@ struct _EphyEmbedShellClass
GType ephy_embed_shell_get_type (void);
+EphyEmbedShell *ephy_embed_shell_get_default (void);
+
GObject *ephy_embed_shell_get_favicon_cache (EphyEmbedShell *ges);
GObject *ephy_embed_shell_get_global_history (EphyEmbedShell *shell);