# HG changeset patch # User Elliott Sales de Andrade # Date 1325645284 0 # Node ID 918d0fc9a65106cecb94e2cad33fea4464cffbd5 # Parent 8b3b9ddcd0bd7144422bace37a221553a5fc68b2 Passing the webview as userdata when the webview is the object emitting the signal seems a bit redundant to me. diff -r 8b3b9ddcd0bd -r 918d0fc9a651 pidgin/gtkwebview.c --- 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