summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-03-03 16:23:38 -0800
committerDan Nicholson <dbn.lists@gmail.com>2012-03-03 16:23:38 -0800
commit8338c5bf004b804fbf99bb7321c949aee4327fb8 (patch)
tree5de9881fad0795e045739f8b7328cd9bed60a1ad
parentfc11b623161ede884306913e79f7278a2d9d5454 (diff)
plugin: Don't unref widgets
When the plug is destroyed, it will take down the widgets for us. Trying to unref after that will just cause warnings.
-rw-r--r--src/evbp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/evbp.c b/src/evbp.c
index de4b8a8..0afbb23 100644
--- a/src/evbp.c
+++ b/src/evbp.c
@@ -116,8 +116,6 @@ evbp_destroy(NPP instance, NPSavedData** save)
g_object_unref(priv->document);
g_object_unref(priv->model);
- g_object_unref(priv->view);
- g_object_unref(priv->scroll);
npn_funcs->memfree(instance->pdata);
instance->pdata = NULL;