summaryrefslogtreecommitdiff
path: root/src/plugins.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2011-07-19 00:19:11 +0200
committerportix <portix@gmx.net>2011-07-19 00:19:11 +0200
commitd1a262fce45d29189795ee6f1e51c788e12fc00c (patch)
treeb5c8090f489121720fe8c4a47256cde9f56514a3 /src/plugins.c
parent87d14dbb564d903721bad255fe315f23090d1f6e (diff)
downloaddwb-d1a262fce45d29189795ee6f1e51c788e12fc00c.zip
Rename create_plugin_widget_cb
Diffstat (limited to 'src/plugins.c')
-rw-r--r--src/plugins.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins.c b/src/plugins.c
index 2bbe13a6..6afe360d 100644
--- a/src/plugins.c
+++ b/src/plugins.c
@@ -158,7 +158,7 @@ dwb_plugins_find_in_frames(WebKitDOMDocument *doc, char *selector) {
}
GtkWidget *
-dwb_create_plugin_widget(WebKitWebView *wv, char *mimetype, char *uri, GHashTable *param, GList *gl) {
+dwb_plugins_create_plugin_widget_cb(WebKitWebView *wv, char *mimetype, char *uri, GHashTable *param, GList *gl) {
WebKitDOMDocument *doc = webkit_web_view_get_dom_document(wv);
WebKitDOMElement *element;
if ( (element = dwb_plugins_find_in_frames(doc, uri)) != NULL && !g_slist_find(ALLOWED(gl), element)) {
@@ -170,7 +170,7 @@ void
dwb_plugin_blocker_connect(GList *gl) {
VIEW(gl)->status->signals[SIG_PLUGINS_LOAD] = g_signal_connect(WEBVIEW(gl), "notify::load-status", G_CALLBACK(dwb_plugins_load_status_cb), gl);
VIEW(gl)->status->signals[SIG_PLUGINS_FRAME_LOAD] = g_signal_connect(WEBVIEW(gl), "frame-created", G_CALLBACK(dwb_plugins_frame_created_cb), gl);
- VIEW(gl)->status->signals[SIG_PLUGINS_CREATE_WIDGET] = g_signal_connect(WEBVIEW(gl), "create-plugin-widget", G_CALLBACK(dwb_create_plugin_widget), gl);
+ VIEW(gl)->status->signals[SIG_PLUGINS_CREATE_WIDGET] = g_signal_connect(WEBVIEW(gl), "create-plugin-widget", G_CALLBACK(dwb_plugins_create_plugin_widget_cb), gl);
}
void