aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--embed/ephy-embed-shell.c13
-rw-r--r--embed/ephy-embed-shell.h2
3 files changed, 23 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 34e8f1564..645779167 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
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().
+
+2005-07-31 Christian Persch <chpe@cvs.gnome.org>
+
* src/ephy-tab.c: (ephy_tab_set_icon_address),
(ephy_tab_set_fallback_icon_address), (ensure_page_info),
(ephy_tab_net_state_cb):
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);