From b7d6a7384621691379618b0be22bef0f58b30414 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Fri, 16 Nov 2007 15:03:10 +0000 Subject: And port all the callers in src/ svn path=/trunk/; revision=7695 --- src/ephy-extensions-manager.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/ephy-extensions-manager.c') diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c index 7d549a697..9d489d1cb 100644 --- a/src/ephy-extensions-manager.c +++ b/src/ephy-extensions-manager.c @@ -1,3 +1,4 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright © 2003 Marco Pesenti Gritti * Copyright © 2003, 2004 Christian Persch @@ -28,6 +29,8 @@ #include "ephy-loader.h" #include "ephy-shlib-loader.h" +#include "ephy-embed-container.h" + #include "ephy-node-db.h" #include "ephy-shell.h" #include "eel-gconf-extensions.h" @@ -676,7 +679,8 @@ attach_window (EphyWindow *window, ephy_extension_attach_window (extension, window); - tabs = ephy_window_get_tabs (window); + tabs = ephy_embed_container_get_children + (EPHY_EMBED_CONTAINER (window)); for (l = tabs; l; l = l->next) { ephy_extension_attach_tab (extension, window, @@ -739,7 +743,8 @@ detach_window (EphyWindow *window, { GList *tabs, *l; - tabs = ephy_window_get_tabs (window); + tabs = ephy_embed_container_get_children + (EPHY_EMBED_CONTAINER (window)); for (l = tabs; l; l = l->next) { ephy_extension_detach_tab (extension, window, @@ -1231,7 +1236,7 @@ impl_detach_window (EphyExtension *extension, g_object_ref (window); /* Detach tabs (uses impl_detach_tab) */ - tabs = ephy_window_get_tabs (window); + tabs = ephy_embed_container_get_children (EPHY_EMBED_CONTAINER (window)); for (l = tabs; l; l = l->next) { ephy_extension_detach_tab (extension, window, -- cgit v1.2.3