Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

Setting WM_CLASS is deprecated in GTK #4

Open
vain opened this issue Mar 25, 2018 · 0 comments
Open

Setting WM_CLASS is deprecated in GTK #4

vain opened this issue Mar 25, 2018 · 0 comments
Labels

Comments

@vain
Copy link
Owner

vain commented Mar 25, 2018

browser.c: In function ‘client_new’:
browser.c:51:5: warning: ‘gtk_window_set_wmclass’ is deprecated [-Wdeprecated-declarations]
     gtk_window_set_wmclass(GTK_WINDOW(c->win), window_name, window_class);
     ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkdialog.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:31,
                 from browser.c:4:

They don't appear to suggest a replacement for this function. It is pretty important on X11, though, (and so is geometry handling), so I won't simply remove it.

@vain vain added the gtk label Mar 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant