aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-extensions-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-extensions-manager.c')
-rw-r--r--src/ephy-extensions-manager.c11
1 files changed, 8 insertions, 3 deletions
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,