From 22fec2cf18c5caba53d60a9dc1142e475830b374 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 27 May 2012 09:54:33 -0300 Subject: Do not crash if CUPS libraries were not found Bug reported by hasufell@gentoo.org. --- modules/devices/printers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/devices/printers.c b/modules/devices/printers.c index 013291cf..c3a02c45 100644 --- a/modules/devices/printers.c +++ b/modules/devices/printers.c @@ -184,7 +184,7 @@ scan_printers_do(void) g_free(printer_icons); if (!cups_init) { - __init_cups(); + init_cups(); printer_icons = g_strdup(""); printer_list = g_strdup("[Printers]\n" -- cgit v1.2.3