diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-02 06:54:11 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-02 06:54:11 +0800 |
commit | ab98ba5308fd8065876b480b799dc591893383e8 (patch) | |
tree | f62a8e8a677061762c772406f1215e3eaf5384c9 /embed/ephy-embed-single.c | |
parent | 11a7cc65dfe779d091abd429784d7cad7dbcbf76 (diff) | |
download | gsoc2013-epiphany-ab98ba5308fd8065876b480b799dc591893383e8.tar gsoc2013-epiphany-ab98ba5308fd8065876b480b799dc591893383e8.tar.gz gsoc2013-epiphany-ab98ba5308fd8065876b480b799dc591893383e8.tar.bz2 gsoc2013-epiphany-ab98ba5308fd8065876b480b799dc591893383e8.tar.lz gsoc2013-epiphany-ab98ba5308fd8065876b480b799dc591893383e8.tar.xz gsoc2013-epiphany-ab98ba5308fd8065876b480b799dc591893383e8.tar.zst gsoc2013-epiphany-ab98ba5308fd8065876b480b799dc591893383e8.zip |
Unify interface struct and type macro naming to be EphyFooIFace,
2004-01-01 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-command-manager.c: (ephy_command_manager_get_type),
(ephy_command_manager_base_init),
(ephy_command_manager_do_command),
(ephy_command_manager_can_do_command):
* embed/ephy-command-manager.h:
* embed/ephy-cookie-manager.c: (ephy_cookie_manager_list_cookies),
(ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear):
* embed/ephy-cookie-manager.h:
* embed/ephy-embed-dialog.h:
* embed/ephy-embed-shell.c:
* embed/ephy-embed-single.c: (ephy_embed_single_get_type),
(ephy_embed_single_iface_init), (ephy_embed_single_clear_cache),
(ephy_embed_single_clear_auth_cache),
(ephy_embed_single_set_offline_mode),
(ephy_embed_single_load_proxy_autoconf),
(ephy_embed_single_get_font_list):
* embed/ephy-embed-single.h:
* embed/ephy-embed.c: (ephy_embed_get_type),
(ephy_embed_base_init), (ephy_embed_load_url),
(ephy_embed_stop_load), (ephy_embed_can_go_back),
(ephy_embed_can_go_forward), (ephy_embed_can_go_up),
(ephy_embed_get_go_up_list), (ephy_embed_go_back),
(ephy_embed_go_forward), (ephy_embed_go_up),
(ephy_embed_get_title), (ephy_embed_get_location),
(ephy_embed_get_link_message), (ephy_embed_get_js_status),
(ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get),
(ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth),
(ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth),
(ephy_embed_get_security_level), (ephy_embed_find_set_properties),
(ephy_embed_find_next), (ephy_embed_activate),
(ephy_embed_set_encoding), (ephy_embed_get_encoding_info),
(ephy_embed_print), (ephy_embed_print_preview_close),
(ephy_embed_print_preview_n_pages),
(ephy_embed_print_preview_navigate):
* embed/ephy-embed.h:
* embed/ephy-password-manager.h:
* embed/ephy-permission-manager.h:
* embed/mozilla/PrintingPromptService.cpp:
* embed/mozilla/mozilla-embed-single.cpp:
* embed/mozilla/mozilla-embed-single.h:
* embed/mozilla/mozilla-embed.cpp:
Unify interface struct and type macro naming to be EphyFooIFace,
EPHY_FOO_IFACE, EPHY_IS_FOO_IFACE, EPHY_FOO_GET_IFACE.
Diffstat (limited to 'embed/ephy-embed-single.c')
-rw-r--r-- | embed/ephy-embed-single.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c index c9da4cd32..20e6a4f5d 100644 --- a/embed/ephy-embed-single.c +++ b/embed/ephy-embed-single.c @@ -25,7 +25,7 @@ #include "ephy-embed-single.h" #include "ephy-marshal.h" -static void ephy_embed_single_class_init (gpointer g_class); +static void ephy_embed_single_iface_init (gpointer g_class); GType ephy_embed_single_get_type (void) @@ -36,8 +36,8 @@ ephy_embed_single_get_type (void) { static const GTypeInfo our_info = { - sizeof (EphyEmbedSingleClass), - ephy_embed_single_class_init, + sizeof (EphyEmbedSingleIFace), + ephy_embed_single_iface_init, NULL, }; @@ -51,7 +51,7 @@ ephy_embed_single_get_type (void) } static void -ephy_embed_single_class_init (gpointer g_class) +ephy_embed_single_iface_init (gpointer g_class) { static gboolean initialised = FALSE; @@ -71,7 +71,7 @@ ephy_embed_single_class_init (gpointer g_class) g_signal_new ("handle_content", EPHY_TYPE_EMBED_SINGLE, G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (EphyEmbedSingleClass, handle_content), + G_STRUCT_OFFSET (EphyEmbedSingleIFace, handle_content), g_signal_accumulator_true_handled, NULL, ephy_marshal_BOOLEAN__STRING_STRING, G_TYPE_BOOLEAN, @@ -92,8 +92,8 @@ ephy_embed_single_class_init (gpointer g_class) void ephy_embed_single_clear_cache (EphyEmbedSingle *single) { - EphyEmbedSingleClass *klass = EPHY_EMBED_SINGLE_GET_CLASS (single); - klass->clear_cache (single); + EphyEmbedSingleIFace *iface = EPHY_EMBED_SINGLE_GET_IFACE (single); + iface->clear_cache (single); } /** @@ -105,8 +105,8 @@ ephy_embed_single_clear_cache (EphyEmbedSingle *single) void ephy_embed_single_clear_auth_cache (EphyEmbedSingle *single) { - EphyEmbedSingleClass *klass = EPHY_EMBED_SINGLE_GET_CLASS (single); - klass->clear_auth_cache (single); + EphyEmbedSingleIFace *iface = EPHY_EMBED_SINGLE_GET_IFACE (single); + iface->clear_auth_cache (single); } /** @@ -120,8 +120,8 @@ void ephy_embed_single_set_offline_mode (EphyEmbedSingle *single, gboolean offline) { - EphyEmbedSingleClass *klass = EPHY_EMBED_SINGLE_GET_CLASS (single); - klass->set_offline_mode (single, offline); + EphyEmbedSingleIFace *iface = EPHY_EMBED_SINGLE_GET_IFACE (single); + iface->set_offline_mode (single, offline); } /** @@ -135,8 +135,8 @@ void ephy_embed_single_load_proxy_autoconf (EphyEmbedSingle *single, const char* address) { - EphyEmbedSingleClass *klass = EPHY_EMBED_SINGLE_GET_CLASS (single); - klass->load_proxy_autoconf (single, address); + EphyEmbedSingleIFace *iface = EPHY_EMBED_SINGLE_GET_IFACE (single); + iface->load_proxy_autoconf (single, address); } /** @@ -153,6 +153,6 @@ GList * ephy_embed_single_get_font_list (EphyEmbedSingle *single, const char *langGroup) { - EphyEmbedSingleClass *klass = EPHY_EMBED_SINGLE_GET_CLASS (single); - return klass->get_font_list (single, langGroup); + EphyEmbedSingleIFace *iface = EPHY_EMBED_SINGLE_GET_IFACE (single); + return iface->get_font_list (single, langGroup); } |