diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2012-05-27 09:54:33 -0300 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2012-05-27 09:54:33 -0300 |
commit | 22fec2cf18c5caba53d60a9dc1142e475830b374 (patch) | |
tree | e3c154d04f3d3eb0e31057b608a2af1fa3dbdafe /modules | |
parent | 998318d46e2c8531dc55974ef62b80fad37fb266 (diff) |
Do not crash if CUPS libraries were not found
Bug reported by hasufell@gentoo.org.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/devices/printers.c | 2 |
1 files changed, 1 insertions, 1 deletions
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" |