summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hofmann <scm@uninformativ.de>2016-11-16 16:27:05 +0100
committerPeter Hofmann <scm@uninformativ.de>2016-11-16 16:27:05 +0100
commit657cca73535fafb569af6dc15d2aec24be1a5685 (patch)
tree2066cc0bd2306dcd2433291f44c4c575139503c0
parent3a67ff86f7058f113af232685081c4db3858888b (diff)
downloadlariza-657cca73535fafb569af6dc15d2aec24be1a5685.tar.gz
Remove call to gtk_window_set_wmclass()
-rw-r--r--CHANGES10
-rw-r--r--browser.c3
2 files changed, 10 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index 7787a4c..52a7129 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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.
diff --git a/browser.c b/browser.c
index 1e1fdc6..616f485 100644
--- a/browser.c
+++ b/browser.c
@@ -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);