/pidgin/main: ae332a3316c7: Give webview signal callback a more ...

Elliott Sales de Andrade qulogic at pidgin.im
Mon Aug 6 03:42:20 EDT 2012


Changeset: ae332a3316c7446df522e39dc2bee1bb344030f2
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2012-08-04 02:57 -0400
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/ae332a3316c7

Description:

Give webview signal callback a more relevant name.

diffstat:

 pidgin/gtkwebview.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (31 lines):

diff --git a/pidgin/gtkwebview.c b/pidgin/gtkwebview.c
--- a/pidgin/gtkwebview.c
+++ b/pidgin/gtkwebview.c
@@ -196,12 +196,12 @@ webview_load_finished(WebKitWebView *web
 }
 
 static gboolean
-webview_link_clicked(WebKitWebView *webview,
-                     WebKitWebFrame *frame,
-                     WebKitNetworkRequest *request,
-                     WebKitWebNavigationAction *navigation_action,
-                     WebKitWebPolicyDecision *policy_decision,
-                     gpointer userdata)
+webview_navigation_decision(WebKitWebView *webview,
+                            WebKitWebFrame *frame,
+                            WebKitNetworkRequest *request,
+                            WebKitWebNavigationAction *navigation_action,
+                            WebKitWebPolicyDecision *policy_decision,
+                            gpointer userdata)
 {
 	const gchar *uri;
 	WebKitWebNavigationReason reason;
@@ -500,7 +500,7 @@ gtk_webview_init(GtkWebView *webview, gp
 	priv->load_queue = g_queue_new();
 
 	g_signal_connect(G_OBJECT(webview), "navigation-policy-decision-requested",
-	                 G_CALLBACK(webview_link_clicked), NULL);
+	                 G_CALLBACK(webview_navigation_decision), NULL);
 
 	g_signal_connect(G_OBJECT(webview), "load-started",
 	                 G_CALLBACK(webview_load_started), NULL);



More information about the Commits mailing list