mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
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>
This commit is contained in:
parent
4b970ee572
commit
a139ddb6cd
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user