Summary Files Commits Branches @commit @diff @stats
path: root / bookmarks.c
diff options
context:
space:
mode:
Commita702a8c2a7c173174804165e05f314549753e289 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-10-11 09:17:54 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-10-11 09:17:54 +0200
Filese7efef187b7767c2151d0be90362dc1d7e0ceddc /bookmarks.c
goodwolf-a702a8c2a7c173174804165e05f314549753e289.tar
goodwolf-a702a8c2a7c173174804165e05f314549753e289.tar.gz
goodwolf-a702a8c2a7c173174804165e05f314549753e289.zip
Parent140404d3c9ba28d75c5bccd31b405af614afe352 (diff)
Enable Intelligent Tracking Protection (ITP)
Note: Permission requests are still stuck to deny by default, so third-party domains are always denied access
1 files changed, 3 insertions, 2 deletions
-rw-r--r--bookmarks.c5
diff --git a/bookmarks.c b/bookmarks.c
index dcf579d..c6e2ece 100644
--- a/bookmarks.c
+++ b/bookmarks.c
@@ -6,7 +6,7 @@
#include <glib/gprintf.h> /* g_fprintf() */
#include <gtk/gtk.h>
#include <libxml/xpath.h>
-#include <unistd.h> /* access() */
+#include <unistd.h> /* access() */
static gboolean
location_completion_matches(GtkEntryCompletion *completion,
@@ -77,7 +77,8 @@ bookmarks_completion_init()
GtkTreeIter iter;
GtkListStore *list_store = gtk_list_store_new(1, G_TYPE_STRING);
- if(access(filename, R_OK) != 0) {
+ if(access(filename, R_OK) != 0)
+ {
g_fprintf(stderr, "Bookmarks: No loadable file found at %s\n", filename);
return NULL;
}