summaryrefslogtreecommitdiff
path: root/src/plugins.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2012-02-06 21:10:01 +0100
committerportix <portix@gmx.net>2012-02-06 21:10:01 +0100
commit9b2814567078d0c2f6a69b14782f9cb32abc075a (patch)
treefbfba7066dd1728d07ebdd57638a1246e82b0fac /src/plugins.c
parent6b9bc03375e12c4726cfdcdaf8edd1558512b135 (diff)
downloaddwb-9b2814567078d0c2f6a69b14782f9cb32abc075a.zip
Call plugins_free before destroying the webview
Diffstat (limited to 'src/plugins.c')
-rw-r--r--src/plugins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins.c b/src/plugins.c
index cb829224..7fb22d13 100644
--- a/src/plugins.c
+++ b/src/plugins.c
@@ -107,7 +107,7 @@ plugins_create_click_element(WebKitDOMElement *element, GList *gl) {
webkit_dom_node_remove_child(parent, WEBKIT_DOM_NODE(element), NULL);
webkit_dom_node_append_child(parent, WEBKIT_DOM_NODE(div), NULL);
- v->plugins->elements = g_slist_append(v->plugins->elements, element);
+ v->plugins->elements = g_slist_prepend(v->plugins->elements, element);
//* at least hide element if default behaviour cannot be prevented */
g_object_set_data((gpointer)div, "dwb-plugin-element", element);