logo

badwolf

minimalist and privacy-oriented web browser based on WebKitGTK git clone https://hacktivis.me/git/badwolf.git
commit: 8ad29068748693e99529331d4883142d6c13c987
parent 71f1d0b17e503c86aa9c03c7eca4374f46a67c35
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 16 Jul 2023 04:53:30 +0200

badwolf: webkit_web_view_get_title returns a const

Diffstat:

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

diff --git a/badwolf.c b/badwolf.c @@ -205,7 +205,7 @@ WebViewCb_notify__title(WebKitWebView *UNUSED(webView), struct Client *browser = (struct Client *)user_data; // Don't set if title is NULL / empty, latter happens on WebProcess crash - char *title = webkit_web_view_get_title(browser->webView); + const char *title = webkit_web_view_get_title(browser->webView); printf("title: <%s>\n", title); if(title == NULL || title[0] == '\0') {