logo

badwolf

Minimalist and privacy-oriented WebKitGTK+ browser
commit: 6fdbc560a5c6aad0569ddf1fdc1ae8eb08e5f3bf
parent: 4abe749dc6a37789f723551c0173f5ad865c2a29
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat,  9 Mar 2019 14:25:29 +0100

badwolf.c: Pass GtkWindow type to gtk_window_set_role

Diffstat:

Mbadwolf.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/badwolf.c b/badwolf.c @@ -347,7 +347,7 @@ int main(int argc, char *argv[]) window->notebook = gtk_notebook_new(); window->new_tab = gtk_button_new_from_icon_name("tab-new", GTK_ICON_SIZE_SMALL_TOOLBAR); - gtk_window_set_role(window->main_window, "browser"); + gtk_window_set_role(GTK_WINDOW(window->main_window), "browser"); gtk_notebook_set_action_widget(GTK_NOTEBOOK(window->notebook), window->new_tab, GTK_PACK_END); gtk_notebook_set_scrollable(GTK_NOTEBOOK(window->notebook), TRUE);