pidgin: bab3d17b: Fix parameters to input signal handler.
qulogic at pidgin.im
qulogic at pidgin.im
Mon Jun 4 04:25:57 EDT 2012
----------------------------------------------------------------------
Revision: bab3d17b13118e2fe665b50f92982027f9514ec5
Parent: 7497312392274aa4f4be0007aaa34c34e8c18d3c
Author: qulogic at pidgin.im
Date: 06/03/12 15:58:23
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bab3d17b13118e2fe665b50f92982027f9514ec5
Changelog:
Fix parameters to input signal handler.
Changes against parent 7497312392274aa4f4be0007aaa34c34e8c18d3c
patched pidgin/gtkwebview.c
-------------- next part --------------
============================================================
--- pidgin/gtkwebview.c 42177a8738e01ce95784d765017739ec527bfd52
+++ pidgin/gtkwebview.c 89c5d1b178c9ad9434ea944bb52eb9eaa307cf97
@@ -345,7 +345,7 @@ static void
}
static void
-editable_input_cb(GtkWebView *webview, WebKitDOMEvent *event, void *data)
+editable_input_cb(GObject *target, WebKitDOMEvent *event, GtkWebView *webview)
{
g_signal_emit(webview, signals[CHANGED], 0);
}
@@ -646,7 +646,7 @@ gtk_webview_set_editable(GtkWebView *web
if (editable) {
webkit_dom_event_target_add_event_listener(WEBKIT_DOM_EVENT_TARGET(doc),
"input", G_CALLBACK(editable_input_cb),
- FALSE, NULL);
+ FALSE, webview);
} else {
webkit_dom_event_target_remove_event_listener(WEBKIT_DOM_EVENT_TARGET(doc),
"input", G_CALLBACK(editable_input_cb),
More information about the Commits
mailing list