logo

badwolf

Minimalist and privacy-oriented WebKitGTK+ browser
commit: 5608fd85c5b633693bdd6f1761cd3a5c8b95afb3
parent: 1d1a739cb869a73391759d8d7653b337c8ee8d01
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 12 May 2020 07:11:06 +0200

formatting

Diffstat:

Mbadwolf.c12++++--------
1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/badwolf.c b/badwolf.c @@ -571,11 +571,11 @@ new_browser(struct Window *window, const gchar *target_url, WebKitWebView *relat browser->box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_widget_set_name(browser->box, "browser__box"); - browser->toolbar = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name(browser->toolbar, "browser__toolbar"); - browser->back = gtk_button_new_from_icon_name("go-previous-symbolic", GTK_ICON_SIZE_LARGE_TOOLBAR); + browser->back = + gtk_button_new_from_icon_name("go-previous-symbolic", GTK_ICON_SIZE_LARGE_TOOLBAR); gtk_widget_set_name(browser->back, "browser__back"); browser->forward = gtk_button_new_from_icon_name("go-next-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR); @@ -644,12 +644,8 @@ new_browser(struct Window *window, const gchar *target_url, WebKitWebView *relat NULL)); gtk_widget_set_name(GTK_WIDGET(browser->webView), "browser__webView"); - - gtk_box_pack_start(GTK_BOX(browser->toolbar), - GTK_WIDGET(browser->back), - FALSE, - FALSE, - BADWOLF_TOOLBAR_PADDING); + gtk_box_pack_start( + GTK_BOX(browser->toolbar), GTK_WIDGET(browser->back), FALSE, FALSE, BADWOLF_TOOLBAR_PADDING); gtk_box_pack_start(GTK_BOX(browser->toolbar), GTK_WIDGET(browser->forward), FALSE,