From 32a23e9a171d025f26d0c72a15fda8cbffecc314 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Fri, 6 Oct 2023 15:44:47 +0100 Subject: formatting pass --- config.h | 4 ++-- plugins/libre_redirect/libre_redirect.c | 8 ++++---- rose.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config.h b/config.h index 10e457f..153822f 100644 --- a/config.h +++ b/config.h @@ -3,8 +3,8 @@ /* See more: * https://webkitgtk.org/reference/webkit2gtk/stable/class.Settings.html */ -#define WEBKIT \ - "enable-back-forward-navigation-gestures", true, "enable-developer-extras", true, \ +#define WEBKIT \ + "enable-back-forward-navigation-gestures", true, "enable-developer-extras", true, \ "enable-smooth-scrolling", false, \ "default-charset", "utf-8" diff --git a/plugins/libre_redirect/libre_redirect.c b/plugins/libre_redirect/libre_redirect.c index 10f82db..e511bbe 100644 --- a/plugins/libre_redirect/libre_redirect.c +++ b/plugins/libre_redirect/libre_redirect.c @@ -37,8 +37,8 @@ int libre_redirect(const char* uri, char* output) "https://translate.google.com", "https://www.bloomberg.com", "https://www.royalroad.com", - "https://genius.com", - // "https://archive.org", + "https://genius.com", + // "https://archive.org", // "https://twitter.com" }; @@ -50,8 +50,8 @@ int libre_redirect(const char* uri, char* output) "https://translate.riverside.rocks/", "https://archive.today/https://www.bloomberg.com", "https://royalread.nunosempere.com", - "https://dumb.vern.cc", - // "https://wayback.nunosempere.com", + "https://dumb.vern.cc", + // "https://wayback.nunosempere.com", // "https://nitter.net" }; diff --git a/rose.c b/rose.c index 204752e..142544c 100644 --- a/rose.c +++ b/rose.c @@ -204,7 +204,7 @@ GtkWidget* handle_create_new_tab(WebKitWebView* self, } else { webkit_web_view_run_javascript(notebook_get_webview(notebook), "alert('Too many tabs, not opening a new one')", NULL, NULL, NULL); - return NULL; + return NULL; } /* WebKitGTK documentation recommends returning the new webview. * I imagine that this might allow e.g., to go back in a new tab -- cgit v1.2.3