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
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -166,8 +166,7 @@ int hs20_web_browser(const char *url) | ||||||
| 	g_object_set(G_OBJECT(s), "ssl-strict", FALSE, NULL); | 	g_object_set(G_OBJECT(s), "ssl-strict", FALSE, NULL); | ||||||
| 
 | 
 | ||||||
| 	ctx.win = gtk_window_new(GTK_WINDOW_TOPLEVEL); | 	ctx.win = gtk_window_new(GTK_WINDOW_TOPLEVEL); | ||||||
| 	gtk_window_set_wmclass(GTK_WINDOW(ctx.win), "Hotspot 2.0 client", | 	gtk_window_set_role(GTK_WINDOW(ctx.win), "Hotspot 2.0 client"); | ||||||
| 			       "Hotspot 2.0 client"); |  | ||||||
| 	gtk_window_set_default_size(GTK_WINDOW(ctx.win), 800, 600); | 	gtk_window_set_default_size(GTK_WINDOW(ctx.win), 800, 600); | ||||||
| 
 | 
 | ||||||
| 	scroll = gtk_scrolled_window_new(NULL, NULL); | 	scroll = gtk_scrolled_window_new(NULL, NULL); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Jouni Malinen
						Jouni Malinen