formatting pass.

This commit is contained in:
NunoSempere 2024-02-11 18:25:46 +01:00
parent e5e194f1eb
commit 0f5baf1129

13
rose.c
View File

@ -1,11 +1,11 @@
#include <stdlib.h>
#include <string.h>
#include <webkit2/webkit2.h>
#include "config.h"
#include "plugins/libre_redirect/libre_redirect.h"
#include "plugins/readability/readability.h"
#include "plugins/shortcuts/shortcuts.h"
#include "plugins/style/style.h"
#include <stdlib.h>
#include <string.h>
#include <webkit2/webkit2.h>
/* Global declarations */
static GtkNotebook* notebook;
@ -14,7 +14,9 @@ static struct {
GtkHeaderBar* widget;
GtkEntry* line;
GtkEntryBuffer* line_text;
enum { _SEARCH, _FIND, _HIDDEN } entry_mode;
enum { _SEARCH,
_FIND,
_HIDDEN } entry_mode;
} bar; // top bar.
static int num_tabs = 0;
@ -62,7 +64,8 @@ void redirect_if_annoying(WebKitWebView* view, const char* uri)
}
}
}
void set_custom_style(WebKitWebView* view){
void set_custom_style(WebKitWebView* view)
{
if (CUSTOM_STYLE_ENABLED) {
char* style_js = malloc(STYLE_N + 1);
read_style_js(style_js);