printing: Call mark_printer_active() with correct parameters

Revert the second part of the commit
6ad6f719c6. mark_printer_active()
was called without its second parameter in g_list_free_full().
This commit is contained in:
Marek Kasik
2012-12-04 15:52:29 +01:00
parent 7675a52d70
commit 1d521344ee

View File

@@ -2197,7 +2197,8 @@ cups_request_printer_list_cb (GtkPrintBackendCups *cups_backend,
as inactive if it is in the list, emitting a printer_removed signal */
if (removed_printer_checklist != NULL)
{
g_list_free_full (removed_printer_checklist, (GDestroyNotify) mark_printer_inactive);
g_list_foreach (removed_printer_checklist, (GFunc) mark_printer_inactive, backend);
g_list_free (removed_printer_checklist);
list_has_changed = TRUE;
}