From 71c946914e692c1d2eda6f0dcdfdc1839789110b Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 3 Jan 2010 20:08:09 -0200 Subject: Add hi_module_deinit() functions to more modules. --- hardinfo2/arch/common/printers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo2/arch') diff --git a/hardinfo2/arch/common/printers.h b/hardinfo2/arch/common/printers.h index 16063737..0e865c04 100644 --- a/hardinfo2/arch/common/printers.h +++ b/hardinfo2/arch/common/printers.h @@ -37,6 +37,7 @@ struct _CUPSDest { static int (*cups_dests_get) (CUPSDest **dests) = NULL; static int (*cups_dests_free) (int num_dests, CUPSDest *dests) = NULL; static gboolean cups_init = FALSE; +static GModule *cups = NULL; static gboolean remove_printer_devices(gpointer key, gpointer value, gpointer data) @@ -47,7 +48,6 @@ remove_printer_devices(gpointer key, gpointer value, gpointer data) static void __init_cups(void) { - static GModule *cups = NULL; const char *libcups[] = { "libcups", "libcups.so", "libcups.so.1", "libcups.so.2", NULL }; if (!(cups_dests_get && cups_dests_free)) { -- cgit v1.2.3