Skip to content

print: Free print backends after use

Marek Kašík requested to merge mkasik/gtk:free-print-backends into main

Print backends loaded in GtkPrintUnixDialog's load_print_backends() are not freed later as done in e.g. GtkPageSetupUnixDialog. Moreover these are still active. That means that e.g. Cups print backend continually actualizes its list of printers.

This commit destroys and unref those print backends.

Closes #5019 (closed)

Merge request reports