aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-08-01 02:32:35 +0800
committerChristian Persch <chpe@src.gnome.org>2005-08-01 02:32:35 +0800
commit853959c41d3f118721f118ee3ec16e43bf98d529 (patch)
treeb091e8f2b1c31e807801e0b46bc7c3c375e95ddc /embed
parent1aa3163b9c63dbf16e98f65ba1bba7a28d1ef194 (diff)
downloadgsoc2013-epiphany-853959c41d3f118721f118ee3ec16e43bf98d529.tar
gsoc2013-epiphany-853959c41d3f118721f118ee3ec16e43bf98d529.tar.gz
gsoc2013-epiphany-853959c41d3f118721f118ee3ec16e43bf98d529.tar.bz2
gsoc2013-epiphany-853959c41d3f118721f118ee3ec16e43bf98d529.tar.lz
gsoc2013-epiphany-853959c41d3f118721f118ee3ec16e43bf98d529.tar.xz
gsoc2013-epiphany-853959c41d3f118721f118ee3ec16e43bf98d529.tar.zst
gsoc2013-epiphany-853959c41d3f118721f118ee3ec16e43bf98d529.zip
Add ephy_embed_shell_get_default() analogous to ephy_shell_get_default().
2005-07-31 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_default): * embed/ephy-embed-shell.h: Add ephy_embed_shell_get_default() analogous to ephy_shell_get_default().
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);