aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2019-01-01 18:36:42 (GMT)
committerJouni Malinen <j@w1.fi>2019-01-01 18:36:42 (GMT)
commita139ddb6cd6a294c58fec3f8f821ef235b4b8eb6 (patch)
tree3408f64435a331e288015a4b730aa628c9360da1 /src
parent4b970ee57295b20d216c3b5f6153d8f5d488a2a1 (diff)
downloadhostap-a139ddb6cd6a294c58fec3f8f821ef235b4b8eb6.zip
hostap-a139ddb6cd6a294c58fec3f8f821ef235b4b8eb6.tar.gz
hostap-a139ddb6cd6a294c58fec3f8f821ef235b4b8eb6.tar.bz2
browser: Replace deprecated gtk_window_set_wmclass()
Use gtk_window_set_role() instead of the deprecated gtk_window_set_wmclass(). Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src')
-rw-r--r--src/utils/browser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utils/browser.c b/src/utils/browser.c
index 9cf6152..ad0b382 100644
--- a/src/utils/browser.c
+++ b/src/utils/browser.c
@@ -166,8 +166,7 @@ int hs20_web_browser(const char *url)
g_object_set(G_OBJECT(s), "ssl-strict", FALSE, NULL);
ctx.win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
- gtk_window_set_wmclass(GTK_WINDOW(ctx.win), "Hotspot 2.0 client",
- "Hotspot 2.0 client");
+ gtk_window_set_role(GTK_WINDOW(ctx.win), "Hotspot 2.0 client");
gtk_window_set_default_size(GTK_WINDOW(ctx.win), 800, 600);
scroll = gtk_scrolled_window_new(NULL, NULL);