[epiphany/gnome-3-34] filters-manager: fix filter clearing
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-34] filters-manager: fix filter clearing
- Date: Sat, 7 Dec 2019 18:44:24 +0000 (UTC)
commit d436c774e35dfd94cd4a326773bb4f475a6133d0
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 c631d6b87..c97198d6d 100644
--- a/embed/ephy-filters-manager.c
+++ b/embed/ephy-filters-manager.c
@@ -480,7 +480,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]