diff options
author | NunoSempere <nuno.sempere@protonmail.com> | 2023-10-06 15:44:47 +0100 |
---|---|---|
committer | NunoSempere <nuno.sempere@protonmail.com> | 2023-10-06 15:45:47 +0100 |
commit | 32a23e9a171d025f26d0c72a15fda8cbffecc314 (patch) | |
tree | e0733c26c82aabedd54b1c11f40315b6cdeb9f91 | |
parent | fb340ed3fa7279fd005ecba525b2ddb384ad954f (diff) |
formatting pass
-rw-r--r-- | config.h | 4 | ||||
-rw-r--r-- | plugins/libre_redirect/libre_redirect.c | 8 | ||||
-rw-r--r-- | rose.c | 2 |
3 files changed, 7 insertions, 7 deletions
@@ -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" }; @@ -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 |