[epiphany/pgriffis/web-extension-beastify: 3/4] WebExtensions: Don't add NULL to permissions array
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/pgriffis/web-extension-beastify: 3/4] WebExtensions: Don't add NULL to permissions array
- Date: Mon, 23 May 2022 16:49:03 +0000 (UTC)
commit 35ecc97d19559f4486571828378be875a4ee7e4f
Author: Patrick Griffis <pgriffis igalia com>
Date: Sun May 22 21:11:40 2022 -0500
WebExtensions: Don't add NULL to permissions array
src/webextension/ephy-web-extension.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/webextension/ephy-web-extension.c b/src/webextension/ephy-web-extension.c
index f9585b7c3..d545c13fa 100644
--- a/src/webextension/ephy-web-extension.c
+++ b/src/webextension/ephy-web-extension.c
@@ -970,8 +970,6 @@ ephy_web_extension_load (GFile *target)
json_array_foreach_element (array, web_extension_add_permission, self);
}
- if (self->permissions)
- g_ptr_array_add (self->permissions, NULL);
return self;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]