[epiphany] filters-manager: fix filter clearing
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] filters-manager: fix filter clearing
- Date: Sat, 7 Dec 2019 18:42:15 +0000 (UTC)
commit c83f1cb2f50151cdb3e2a647b351bb36a45edf74
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Sat Dec 7 12:32:42 2019 +0100
filters-manager: fix filter clearing
embed/ephy-filters-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/embed/ephy-filters-manager.c b/embed/ephy-filters-manager.c
index f109caf0d..fa9402b2d 100644
--- a/embed/ephy-filters-manager.c
+++ b/embed/ephy-filters-manager.c
@@ -481,7 +481,7 @@ filter_saved_cb (WebKitUserContentFilterStore *store,
g_assert (self);
g_assert (self->manager->store == store);
- g_clear_object (&self->manager->wk_filter);
+ g_clear_pointer (&self->manager->wk_filter, webkit_user_content_filter_unref);
self->manager->wk_filter = webkit_user_content_filter_store_save_finish (self->manager->store,
result,
&error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]