aboutsummaryrefslogtreecommitdiffstats
path: root/embed/webkit/webkit-embed.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-01-04 20:41:22 +0800
committerXan Lopez <xan@src.gnome.org>2009-01-04 20:41:22 +0800
commit75df77ae61aa3f2148d5a61eeef1c5f281e42864 (patch)
treeffe7e93ebd1d30c1d3a204463dc757b82c9b96d3 /embed/webkit/webkit-embed.c
parent63f013b592ea239f9404969e6392b215bb04d244 (diff)
downloadgsoc2013-epiphany-75df77ae61aa3f2148d5a61eeef1c5f281e42864.tar
gsoc2013-epiphany-75df77ae61aa3f2148d5a61eeef1c5f281e42864.tar.gz
gsoc2013-epiphany-75df77ae61aa3f2148d5a61eeef1c5f281e42864.tar.bz2
gsoc2013-epiphany-75df77ae61aa3f2148d5a61eeef1c5f281e42864.tar.lz
gsoc2013-epiphany-75df77ae61aa3f2148d5a61eeef1c5f281e42864.tar.xz
gsoc2013-epiphany-75df77ae61aa3f2148d5a61eeef1c5f281e42864.tar.zst
gsoc2013-epiphany-75df77ae61aa3f2148d5a61eeef1c5f281e42864.zip
webkit-embed: do not prefix callbacks with 'webkit_embed', they are static functions.
svn path=/trunk/; revision=8663
Diffstat (limited to 'embed/webkit/webkit-embed.c')
-rw-r--r--embed/webkit/webkit-embed.c66
1 files changed, 33 insertions, 33 deletions
diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c
index 85a0f8b56..02caa26d4 100644
--- a/embed/webkit/webkit-embed.c
+++ b/embed/webkit/webkit-embed.c
@@ -111,10 +111,10 @@ G_DEFINE_TYPE_WITH_CODE (WebKitEmbed, webkit_embed, EPHY_TYPE_BASE_EMBED,
ephy_command_manager_iface_init))
static void
-webkit_embed_title_changed_cb (WebKitWebView *web_view,
- WebKitWebFrame *web_frame,
- const gchar *title,
- EphyEmbed *embed)
+title_changed_cb (WebKitWebView *web_view,
+ WebKitWebFrame *web_frame,
+ const gchar *title,
+ EphyEmbed *embed)
{
ephy_base_embed_set_title (EPHY_BASE_EMBED (embed),
title);
@@ -191,9 +191,9 @@ restore_zoom_level (WebKitEmbed *embed,
}
static void
-webkit_embed_load_committed_cb (WebKitWebView *web_view,
- WebKitWebFrame *web_frame,
- EphyEmbed *embed)
+load_committed_cb (WebKitWebView *web_view,
+ WebKitWebFrame *web_frame,
+ EphyEmbed *embed)
{
const gchar* uri = webkit_web_frame_get_uri(web_frame);
ephy_base_embed_location_changed (EPHY_BASE_EMBED (embed),
@@ -207,9 +207,9 @@ webkit_embed_load_committed_cb (WebKitWebView *web_view,
}
static void
-webkit_embed_load_started_cb (WebKitWebView *web_view,
- WebKitWebFrame *web_frame,
- EphyEmbed *embed)
+load_started_cb (WebKitWebView *web_view,
+ WebKitWebFrame *web_frame,
+ EphyEmbed *embed)
{
WebKitEmbed *wembed = WEBKIT_EMBED (embed);
wembed->priv->load_state = WEBKIT_EMBED_LOAD_STARTED;
@@ -218,9 +218,9 @@ webkit_embed_load_started_cb (WebKitWebView *web_view,
}
static void
-webkit_embed_load_progress_changed_cb (WebKitWebView *web_view,
- int progress,
- EphyEmbed *embed)
+load_progress_changed_cb (WebKitWebView *web_view,
+ int progress,
+ EphyEmbed *embed)
{
WebKitEmbed *wembed = WEBKIT_EMBED (embed);
@@ -231,9 +231,9 @@ webkit_embed_load_progress_changed_cb (WebKitWebView *web_view,
}
static void
-webkit_embed_load_finished_cb (WebKitWebView *web_view,
- WebKitWebFrame *web_frame,
- EphyEmbed *embed)
+load_finished_cb (WebKitWebView *web_view,
+ WebKitWebFrame *web_frame,
+ EphyEmbed *embed)
{
WebKitEmbed *wembed = WEBKIT_EMBED (embed);
wembed->priv->load_state = WEBKIT_EMBED_LOAD_STOPPED;
@@ -242,10 +242,10 @@ webkit_embed_load_finished_cb (WebKitWebView *web_view,
}
static void
-webkit_embed_hovering_over_link_cb (WebKitWebView *web_view,
- char *title,
- char *location,
- EphyEmbed *embed)
+hovering_over_link_cb (WebKitWebView *web_view,
+ char *title,
+ char *location,
+ EphyEmbed *embed)
{
ephy_base_embed_set_link_message (EPHY_BASE_EMBED (embed), location);
}
@@ -337,12 +337,12 @@ webkit_embed_inspect_close_cb (WebKitWebInspector *inspector,
}
static gboolean
-webkit_embed_mime_type_policy_decision_requested (WebKitWebView *web_view,
- WebKitWebFrame *frame,
- WebKitNetworkRequest *request,
- const char *mime_type,
- WebKitWebPolicyDecision *decision,
- WebKitEmbed *embed)
+mime_type_policy_decision_requested_cb (WebKitWebView *web_view,
+ WebKitWebFrame *frame,
+ WebKitNetworkRequest *request,
+ const char *mime_type,
+ WebKitWebPolicyDecision *decision,
+ WebKitEmbed *embed)
{
EphyEmbedDocumentType type;
@@ -392,13 +392,13 @@ webkit_embed_init (WebKitEmbed *embed)
gtk_container_add (GTK_CONTAINER (embed), sw);
g_object_connect (web_view,
- "signal::load-committed", G_CALLBACK (webkit_embed_load_committed_cb), embed,
- "signal::load-started", G_CALLBACK (webkit_embed_load_started_cb), embed,
- "signal::load_finished", G_CALLBACK (webkit_embed_load_finished_cb), embed,
- "signal::title-changed", G_CALLBACK (webkit_embed_title_changed_cb), embed,
- "signal::load-progress-changed", G_CALLBACK (webkit_embed_load_progress_changed_cb), embed,
- "signal::hovering-over-link", G_CALLBACK (webkit_embed_hovering_over_link_cb), embed,
- "signal::mime-type-policy-decision-requested", G_CALLBACK (webkit_embed_mime_type_policy_decision_requested), embed,
+ "signal::load-committed", G_CALLBACK (load_committed_cb), embed,
+ "signal::load-started", G_CALLBACK (load_started_cb), embed,
+ "signal::load_finished", G_CALLBACK (load_finished_cb), embed,
+ "signal::title-changed", G_CALLBACK (title_changed_cb), embed,
+ "signal::load-progress-changed", G_CALLBACK (load_progress_changed_cb), embed,
+ "signal::hovering-over-link", G_CALLBACK (hovering_over_link_cb), embed,
+ "signal::mime-type-policy-decision-requested", G_CALLBACK (mime_type_policy_decision_requested_cb), embed,
NULL);
g_signal_connect (web_view, "notify::zoom-level",