diff options
author | Christian Persch <chpe@src.gnome.org> | 2007-10-28 21:24:23 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2007-10-28 21:24:23 +0800 |
commit | 97cfee6bcb76fd13839443723ff63c0dc00ca186 (patch) | |
tree | f35cd5f9394120ff0303236998fa469b694fd382 | |
parent | f0a1b394de9c9b7810ec67a1cee0e4906f4abcc5 (diff) | |
download | gsoc2013-epiphany-97cfee6bcb76fd13839443723ff63c0dc00ca186.tar.gz gsoc2013-epiphany-97cfee6bcb76fd13839443723ff63c0dc00ca186.tar.zst gsoc2013-epiphany-97cfee6bcb76fd13839443723ff63c0dc00ca186.zip |
Remove EphYTab.
svn path=/trunk/; revision=7586
-rw-r--r-- | src/ephy-link.c | 20 | ||||
-rw-r--r-- | src/ephy-link.h | 15 |
2 files changed, 18 insertions, 17 deletions
diff --git a/src/ephy-link.c b/src/ephy-link.c index 396fa0452..b7b49eeeb 100644 --- a/src/ephy-link.c +++ b/src/ephy-link.c @@ -48,12 +48,12 @@ ephy_link_base_init (gpointer g_class) EPHY_TYPE_LINK, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (EphyLinkIface, open_link), - ephy_signal_accumulator_object, ephy_tab_get_type, + ephy_signal_accumulator_object, ephy_embed_get_type, ephy_marshal_OBJECT__STRING_OBJECT_FLAGS, - EPHY_TYPE_TAB, + EPHY_TYPE_EMBED, 3, G_TYPE_STRING, - EPHY_TYPE_TAB, + EPHY_TYPE_EMBED, EPHY_TYPE_LINK_FLAGS); initialised = TRUE; @@ -82,21 +82,21 @@ ephy_link_get_type (void) return type; } -EphyTab * +EphyEmbed * ephy_link_open (EphyLink *link, const char *address, - EphyTab *tab, + EphyEmbed *embed, EphyLinkFlags flags) { - EphyTab *new_tab = NULL; + EphyEmbed *new_embed = NULL; - LOG ("ephy_link_open address \"%s\" parent-tab %p flags %u", address, tab, flags); + LOG ("ephy_link_open address \"%s\" parent-embed %p flags %u", address, embed, flags); g_signal_emit (link, signals[OPEN_LINK], 0, - address, tab, flags, - &new_tab); + address, embed, flags, + &new_embed); - return new_tab; + return new_embed; } EphyLinkFlags diff --git a/src/ephy-link.h b/src/ephy-link.h index 2c2998ff7..20e72fc9f 100644 --- a/src/ephy-link.h +++ b/src/ephy-link.h @@ -22,7 +22,8 @@ #define EPHY_LINK_H #include <glib-object.h> -#include "ephy-tab.h" + +#include "ephy-embed.h" #include "ephy-window.h" G_BEGIN_DECLS @@ -50,19 +51,19 @@ struct _EphyLinkIface GTypeInterface base_iface; /* Signals */ - EphyTab * (* open_link) (EphyLink *link, - const char *address, - EphyTab *tab, - EphyLinkFlags flags); + EphyEmbed * (* open_link) (EphyLink *link, + const char *address, + EphyEmbed *embed, + EphyLinkFlags flags); }; GType ephy_link_flags_get_type (void); GType ephy_link_get_type (void); -EphyTab *ephy_link_open (EphyLink *link, +EphyEmbed *ephy_link_open (EphyLink *link, const char *address, - EphyTab *tab, + EphyEmbed *embed, EphyLinkFlags flags); EphyLinkFlags ephy_link_flags_from_current_event (void); |