changeset 32445:072e2329b659

Passing the webview as userdata when the webview is the object emitting the signal seems a bit redundant to me.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 04 Jan 2012 02:48:04 +0000
parents 8436fb68930e
children aeaf9eebd5ec
files pidgin/gtkwebview.c
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkwebview.c	Wed Jan 04 02:35:22 2012 +0000
+++ b/pidgin/gtkwebview.c	Wed Jan 04 02:48:04 2012 +0000
@@ -324,16 +324,13 @@
 	priv->js_queue = g_queue_new();
 
 	g_signal_connect(webview, "navigation-policy-decision-requested",
-			  G_CALLBACK(webview_link_clicked),
-			  webview);
+			  G_CALLBACK(webview_link_clicked), NULL);
 
 	g_signal_connect(webview, "load-started",
-			  G_CALLBACK(webview_load_started),
-			  webview);
+			  G_CALLBACK(webview_load_started), NULL);
 
 	g_signal_connect(webview, "load-finished",
-			  G_CALLBACK(webview_load_finished),
-			  webview);
+			  G_CALLBACK(webview_load_finished), NULL);
 }
 
 GType