aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-02 06:57:16 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-02 06:57:16 +0800
commit05b3184b5d074180c6a730e55b57ced1d5d480db (patch)
tree655829b92f263adbdf8aa4a917a6734e70508cdf /src/ephy-tab.h
parentab98ba5308fd8065876b480b799dc591893383e8 (diff)
downloadgsoc2013-epiphany-05b3184b5d074180c6a730e55b57ced1d5d480db.tar
gsoc2013-epiphany-05b3184b5d074180c6a730e55b57ced1d5d480db.tar.gz
gsoc2013-epiphany-05b3184b5d074180c6a730e55b57ced1d5d480db.tar.bz2
gsoc2013-epiphany-05b3184b5d074180c6a730e55b57ced1d5d480db.tar.lz
gsoc2013-epiphany-05b3184b5d074180c6a730e55b57ced1d5d480db.tar.xz
gsoc2013-epiphany-05b3184b5d074180c6a730e55b57ced1d5d480db.tar.zst
gsoc2013-epiphany-05b3184b5d074180c6a730e55b57ced1d5d480db.zip
New API to get the EphyTab from an EphyEmbed. Port all users.
2004-01-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb), (ephy_notebook_insert_page), (ephy_notebook_remove_page): * src/ephy-tab.c: (ephy_tab_for_embed), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb): * src/ephy-window.c: (tab_context_menu_cb), (tab_added_cb), (tab_removed_cb), (real_get_active_tab), (ephy_window_get_tabs): New API to get the EphyTab from an EphyEmbed. Port all users.
Diffstat (limited to 'src/ephy-tab.h')
-rw-r--r--src/ephy-tab.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ephy-tab.h b/src/ephy-tab.h
index 958a4dd95..cb685cd74 100644
--- a/src/ephy-tab.h
+++ b/src/ephy-tab.h
@@ -36,9 +36,9 @@ G_BEGIN_DECLS
#define EPHY_IS_TAB_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_TAB))
#define EPHY_TAB_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_TAB, EphyTabClass))
-typedef struct EphyTabClass EphyTabClass;
-typedef struct EphyTab EphyTab;
-typedef struct EphyTabPrivate EphyTabPrivate;
+typedef struct EphyTabClass EphyTabClass;
+typedef struct EphyTab EphyTab;
+typedef struct EphyTabPrivate EphyTabPrivate;
typedef enum
{
@@ -78,6 +78,8 @@ GObject *ephy_tab_get_action (EphyTab *tab);
EphyEmbed *ephy_tab_get_embed (EphyTab *tab);
+EphyTab *ephy_tab_for_embed (EphyEmbed *embed);
+
void ephy_tab_set_window (EphyTab *tab,
EphyWindow *window);