diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-08-08 19:32:18 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-08-08 19:32:18 +0800 |
commit | 1bb4b10ce6a3e857b14e0637e17203960dcc9543 (patch) | |
tree | 13cc19b248d1c9b042ba8ccd3bf3a837f0778ac5 /embed/ephy-embed-single.h | |
parent | 5edd4b22cdae0b762add8316fe023a334f67060d (diff) | |
download | gsoc2013-epiphany-1bb4b10ce6a3e857b14e0637e17203960dcc9543.tar gsoc2013-epiphany-1bb4b10ce6a3e857b14e0637e17203960dcc9543.tar.gz gsoc2013-epiphany-1bb4b10ce6a3e857b14e0637e17203960dcc9543.tar.bz2 gsoc2013-epiphany-1bb4b10ce6a3e857b14e0637e17203960dcc9543.tar.lz gsoc2013-epiphany-1bb4b10ce6a3e857b14e0637e17203960dcc9543.tar.xz gsoc2013-epiphany-1bb4b10ce6a3e857b14e0637e17203960dcc9543.tar.zst gsoc2013-epiphany-1bb4b10ce6a3e857b14e0637e17203960dcc9543.zip |
Make ephy_embed_single_open_window() return the newly opened embed widget.
2004-08-08 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-embed-single.c: (ephy_embed_single_open_window):
* embed/ephy-embed-single.h:
* embed/mozilla/mozilla-embed-single.cpp: (impl_open_window):
* src/ephy-tab.c: (popups_manager_show):
Make ephy_embed_single_open_window() return the newly opened
embed widget.
Diffstat (limited to 'embed/ephy-embed-single.h')
-rw-r--r-- | embed/ephy-embed-single.h | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/embed/ephy-embed-single.h b/embed/ephy-embed-single.h index e0cbee8c1..1b8894592 100644 --- a/embed/ephy-embed-single.h +++ b/embed/ephy-embed-single.h @@ -50,37 +50,39 @@ struct _EphyEmbedSingleIface /* Methods */ - void (* open_window) (EphyEmbedSingle *single, - EphyEmbed *parent, - const char *address, - const char *features); - void (* clear_cache) (EphyEmbedSingle *shell); - void (* clear_auth_cache) (EphyEmbedSingle *shell); - void (* set_offline_mode) (EphyEmbedSingle *shell, - gboolean offline); - gboolean (* get_offline_mode) (EphyEmbedSingle *single); - GList * (* get_font_list) (EphyEmbedSingle *shell, - const char *langGroup); -}; - -GType ephy_embed_single_get_type (void); - -void ephy_embed_single_open_window (EphyEmbedSingle *single, + GtkWidget * (* open_window) (EphyEmbedSingle *single, EphyEmbed *parent, const char *address, + const char *name, const char *features); + void (* clear_cache) (EphyEmbedSingle *shell); + void (* clear_auth_cache) (EphyEmbedSingle *shell); + void (* set_offline_mode) (EphyEmbedSingle *shell, + gboolean offline); + gboolean (* get_offline_mode) (EphyEmbedSingle *single); + GList * (* get_font_list) (EphyEmbedSingle *shell, + const char *langGroup); +}; -void ephy_embed_single_clear_cache (EphyEmbedSingle *single); +GType ephy_embed_single_get_type (void); -void ephy_embed_single_clear_auth_cache (EphyEmbedSingle *single); +GtkWidget *ephy_embed_single_open_window (EphyEmbedSingle *single, + EphyEmbed *parent, + const char *address, + const char *name, + const char *features); -void ephy_embed_single_set_offline_mode (EphyEmbedSingle *single, - gboolean offline); +void ephy_embed_single_clear_cache (EphyEmbedSingle *single); + +void ephy_embed_single_clear_auth_cache (EphyEmbedSingle *single); + +void ephy_embed_single_set_offline_mode (EphyEmbedSingle *single, + gboolean offline); -gboolean ephy_embed_single_get_offline_mode (EphyEmbedSingle *single); +gboolean ephy_embed_single_get_offline_mode (EphyEmbedSingle *single); -GList *ephy_embed_single_get_font_list (EphyEmbedSingle *single, - const char *lang_group); +GList *ephy_embed_single_get_font_list (EphyEmbedSingle *single, + const char *lang_group); G_END_DECLS |