aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-extensions-manager.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-16 23:03:10 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-16 23:03:10 +0800
commitb7d6a7384621691379618b0be22bef0f58b30414 (patch)
tree378d3377f3290f3461b23f25349579077ff0bdb3 /src/ephy-extensions-manager.c
parent1b8bf4b88fb016020c822e5a9208a89ed8ebbdc4 (diff)
downloadgsoc2013-epiphany-b7d6a7384621691379618b0be22bef0f58b30414.tar
gsoc2013-epiphany-b7d6a7384621691379618b0be22bef0f58b30414.tar.gz
gsoc2013-epiphany-b7d6a7384621691379618b0be22bef0f58b30414.tar.bz2
gsoc2013-epiphany-b7d6a7384621691379618b0be22bef0f58b30414.tar.lz
gsoc2013-epiphany-b7d6a7384621691379618b0be22bef0f58b30414.tar.xz
gsoc2013-epiphany-b7d6a7384621691379618b0be22bef0f58b30414.tar.zst
gsoc2013-epiphany-b7d6a7384621691379618b0be22bef0f58b30414.zip
And port all the callers in src/
svn path=/trunk/; revision=7695
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,