OpenPrinting / system-config-printer

Graphical user interface for CUPS administration
GNU General Public License v2.0
160 stars 88 forks source link

system-config-printer.py: DeprecationWarning: Gdk.threads_enter is deprecated #126

Open bit opened 5 years ago

bit commented 5 years ago

system-config-printer.py uses many deprecated functions

zdohnal commented 5 years ago

Hi, thanks for reporting the issue! It seems Gtk/Gdk started to deprecate another set of functions. I got rid some of them in the past, but they still keeps coming...

hadess commented 4 years ago

thanks for reporting the issue! It seems Gtk/Gdk started to deprecate another set of functions. I got rid some of them in the past, but they still keeps coming...

Those were deprecated in GTK+ 3.6, released in 2012.

Just remove those calls, they don't do anything, and you shouldn't use GTK from multiple threads.