summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-09-28 16:21:19 +0300
committerCem Keylan <cem@ckyln.com>2021-09-28 16:28:43 +0300
commit401452be4a1a0635a4187b277e79fcbffd43d047 (patch)
tree7b33fbeee3b8019badc9820c1df080859304d6c2
parent72381f7139252551c72bbc6e5854e89981c00969 (diff)
downloadlariza-401452be4a1a0635a4187b277e79fcbffd43d047.tar.gz
permission_request(): use const gchar* instead
-rw-r--r--browser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser.c b/browser.c
index 2ecf0b5..10f9cd1 100644
--- a/browser.c
+++ b/browser.c
@@ -1164,7 +1164,7 @@ permission_request(WebKitWebView *v, WebKitPermissionRequest *r, gpointer data)
{
struct Client *c = (struct Client *)data;
const gchar *h;
- char *permission_str;
+ const gchar *permission_str;
h = g_uri_get_host(g_uri_parse(
webkit_web_view_get_uri(WEBKIT_WEB_VIEW(c->web_view)),