[hackers] [surf-webkit2] Don't set wm class explicitly

From: Dmitrij D. Czarkoff <czarkoff_AT_gmail.com>
Date: Thu, 17 Nov 2016 12:30:30 +0100

GTK+3 does so implicitly, and the function gtk_window_set_wmclass() has been
deprecated since version 3.22.
---
 surf.c | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/surf.c b/surf.c
index fb3ef81..f94a103 100644
--- a/surf.c
+++ b/surf.c
_AT_@ -1188,10 +1188,6 @@ createwindow(Client *c)
 	} else {
 		w = gtk_window_new(GTK_WINDOW_TOPLEVEL);
 
-		wmstr = g_path_get_basename(argv0);
-		gtk_window_set_wmclass(GTK_WINDOW(w), wmstr, "Surf");
-		g_free(wmstr);
-
 		wmstr = g_strdup_printf("%s[%lu]", "Surf",
 		        webkit_web_view_get_page_id(c->view));
 		gtk_window_set_role(GTK_WINDOW(w), wmstr);
-- 
2.10.2
P.S.:  I am not on the list, so please CC me.
Received on Thu Nov 17 2016 - 12:30:30 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 17 2016 - 12:36:15 CET