diff options
author | Peter Hofmann <scm@uninformativ.de> | 2016-11-16 16:27:05 +0100 |
---|---|---|
committer | Peter Hofmann <scm@uninformativ.de> | 2016-11-16 16:27:05 +0100 |
commit | 657cca73535fafb569af6dc15d2aec24be1a5685 (patch) | |
tree | 2066cc0bd2306dcd2433291f44c4c575139503c0 | |
parent | 3a67ff86f7058f113af232685081c4db3858888b (diff) | |
download | lariza-657cca73535fafb569af6dc15d2aec24be1a5685.tar.gz |
Remove call to gtk_window_set_wmclass()
-rw-r--r-- | CHANGES | 10 | ||||
-rw-r--r-- | browser.c | 3 |
2 files changed, 10 insertions, 3 deletions
@@ -1,5 +1,15 @@ Release history for lariza +next + [Changed] + - We no longer explicitly set the X11 window's class and name. Let + GTK+ do this job. The actual class and name should be unchanged, + though (WM_CLASS(STRING) = "lariza", "Lariza"). + + This does not affect tabbed which is still run with "-n lariza". + + This change fixes a GTK+ deprecation warning. + v16.09 2016-09-03 [Changed] - Web extensions are now looked for in ~/.config/lariza/web_extensions. @@ -142,10 +142,7 @@ client_new(const gchar *uri) } if (c->win == NULL) - { c->win = gtk_window_new(GTK_WINDOW_TOPLEVEL); - gtk_window_set_wmclass(GTK_WINDOW(c->win), __NAME__, __NAME_CAPITALIZED__); - } gtk_window_set_default_size(GTK_WINDOW(c->win), 800, 600); |