From 853959c41d3f118721f118ee3ec16e43bf98d529 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 31 Jul 2005 18:32:35 +0000 Subject: Add ephy_embed_shell_get_default() analogous to ephy_shell_get_default(). 2005-07-31 Christian Persch * 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(). --- embed/ephy-embed-shell.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'embed/ephy-embed-shell.c') 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; +} -- cgit v1.2.3