From 39e2b103e8d51f6c1d932a40a8fd6d18e1680d09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Rameau?= Date: Tue, 8 Aug 2006 10:51:50 +0000 Subject: Expose notebook->priv->focused_pages to extensions. Fix bug #350187. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2006-08-08 Jean-François Rameau * src/epiphany.defs: * src/ephy-notebook.h: * src/ephy-notebook.c: * src/epiphany.override: Expose notebook->priv->focused_pages to extensions. Fix bug #350187. --- src/ephy-notebook.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ephy-notebook.c') diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 001ac21f1..a250836a5 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -727,6 +727,14 @@ ephy_notebook_set_show_tabs (EphyNotebook *nb, gboolean show_tabs) update_tabs_visibility (nb, FALSE); } +GList * +ephy_notebook_get_focused_pages (EphyNotebook *nb) +{ + g_return_val_if_fail (EPHY_IS_NOTEBOOK (nb), NULL); + + return nb->priv->focused_pages; +} + static int ephy_notebook_insert_page (GtkNotebook *gnotebook, GtkWidget *tab_widget, -- cgit v1.2.3