Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cpdb/cpdb-frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ void cpdbPrinterCallback(cpdb_frontend_obj_t *f, cpdb_printer_obj_t *p, cpdb_pri

case CPDB_CHANGE_PRINTER_REMOVED:
g_message("Removed printer %s : %s!\n", p->name, p->backend_name);
cpdbDeletePrinterObj(p);
break;

case CPDB_CHANGE_PRINTER_STATE_CHANGED:
Expand Down Expand Up @@ -129,6 +128,7 @@ void cpdbOnPrinterRemoved(GDBusConnection *connection,
g_variant_get(parameters, "(ss)", &printer_id, &backend_name);
cpdb_printer_obj_t *p = cpdbRemovePrinter(f, printer_id, backend_name);
f->printer_cb(f, p, CPDB_CHANGE_PRINTER_REMOVED);
cpdbDeletePrinterObj(p);
}

void cpdbOnPrinterStateChanged(GDBusConnection *connection,
Expand Down