logo

badwolf

Minimalist and privacy-oriented WebKitGTK+ browser
commit: 617e6b2a2e7e7c0668e3374f99542ccb506a3099
parent: e2b66bcb48a0170481966d23d371f2e4cbc3423f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 13 Apr 2019 21:07:24 +0200

make format

Diffstat:

Mbadwolf.c12+++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/badwolf.c b/badwolf.c @@ -85,19 +85,25 @@ WebViewCb_close(WebKitWebView *webView, gpointer user_data) } static gboolean -WebViewCb_web_process_terminated(WebKitWebView *webView, WebKitWebProcessTerminationReason reason, gpointer user_data) +WebViewCb_web_process_terminated(WebKitWebView *webView, + WebKitWebProcessTerminationReason reason, + gpointer user_data) { (void)webView; struct Client *browser = (struct Client *)user_data; switch(reason) { - case WEBKIT_WEB_PROCESS_CRASHED: g_fprintf(stderr, "the web process crashed."); webView_tab_label_change(browser, "Crashed"); break; + case WEBKIT_WEB_PROCESS_CRASHED: + g_fprintf(stderr, "the web process crashed."); + webView_tab_label_change(browser, "Crashed"); + break; case WEBKIT_WEB_PROCESS_EXCEEDED_MEMORY_LIMIT: g_fprintf(stderr, "the web process exceeded the memory limit."); webView_tab_label_change(browser, "Out of Memory"); break; - default: g_fprintf(stderr, "the web process terminated for an unknown reason."); + default: + g_fprintf(stderr, "the web process terminated for an unknown reason."); webView_tab_label_change(browser, "Unknown Crash"); }