aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-04 02:07:19 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-04 02:07:19 +0800
commitc4b9c39ec588430681b25d52a1cd5f57dab716d4 (patch)
tree6b35647c1ea93b1b6b9a185dbe7a043d0a631a46 /src
parent3c97a9bf4a384a76c51e4684b2d9a02266cf458f (diff)
downloadgsoc2013-epiphany-c4b9c39ec588430681b25d52a1cd5f57dab716d4.tar
gsoc2013-epiphany-c4b9c39ec588430681b25d52a1cd5f57dab716d4.tar.gz
gsoc2013-epiphany-c4b9c39ec588430681b25d52a1cd5f57dab716d4.tar.bz2
gsoc2013-epiphany-c4b9c39ec588430681b25d52a1cd5f57dab716d4.tar.lz
gsoc2013-epiphany-c4b9c39ec588430681b25d52a1cd5f57dab716d4.tar.xz
gsoc2013-epiphany-c4b9c39ec588430681b25d52a1cd5f57dab716d4.tar.zst
gsoc2013-epiphany-c4b9c39ec588430681b25d52a1cd5f57dab716d4.zip
Add types for some enums and flags.
2005-01-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.c: (ephy_embed_event_context_get_type), (ephy_embed_event_type_get_type): * embed/ephy-embed-event.h: * embed/ephy-embed.c: (ephy_embed_net_state_get_type), (ephy_embed_ppv_navigation_get_type), (ephy_embed_security_level_get_type), (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * lib/ephy-marshal.list: * src/ephy-tab.c: (update_net_state_message), (build_progress_from_requests), (ephy_tab_net_state_cb): Add types for some enums and flags.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-tab.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 9d42fc982..5db93ddd8 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -1173,7 +1173,7 @@ build_load_percent (int requests_done, int requests_total)
}
static void
-update_net_state_message (EphyTab *tab, const char *uri, EmbedState flags)
+update_net_state_message (EphyTab *tab, const char *uri, EmbedNetState flags)
{
GnomeVFSURI *vfs_uri = NULL;
const char *msg = NULL;
@@ -1239,7 +1239,7 @@ out:
}
static void
-build_progress_from_requests (EphyTab *tab, EmbedState state)
+build_progress_from_requests (EphyTab *tab, EmbedNetState state)
{
int load_percent;
@@ -1277,8 +1277,10 @@ ensure_page_info (EphyTab *tab, EphyEmbed *embed, const char *address)
}
static void
-ephy_tab_net_state_cb (EphyEmbed *embed, const char *uri,
- EmbedState state, EphyTab *tab)
+ephy_tab_net_state_cb (EphyEmbed *embed,
+ const char *uri,
+ EmbedNetState state,
+ EphyTab *tab)
{
update_net_state_message (tab, uri, state);