Closed yuriiz closed 2 years ago
I like that! Thank you for your contribution, when I have time, I'll test it locally before merging it.
Confirming that these changes work for me.
I've tested locally and it doesn't work. I indeed don't have the warnings anymore, but I also lost the icons these lines were creating:
Before:
After:
I could not reproduce it. What distro and GTK version? Does changing icon names to not deprecated ones fixes anything? For example, GTK_STOCK_EXECUTE -> "system-run" as described at https://developer.gnome.org/gtk3/stable/gtk3-Stock-Items.html#GTK-STOCK-EXECUTE:CAPS
Hi @yuriiz !
I'm finally giving some love to this project ;)
To answer you questions: I'm on Fedora 34, and maybe using the non-deprecated name works, it's worth a try.
Also, here's the new link for the GTK_STOCK_EXECUTE documentation: https://docs.gtk.org/gtk3/const.STOCK_EXECUTE.html
Since we don't have the warnings anymore (see https://github.com/MightyCreak/diffuse/issues/55#issuecomment-1127777620), I'll close this PR.
Remove usage of deprecated Gtk.IconFactory & Gtk.ImageMenuItem
https://github.com/MightyCreak/diffuse/issues/55