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:48:08 +01:00
parent f08fc12741
commit 6f69a0fef6

View File

@ -2210,7 +2210,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;
}