aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/common/printers.h
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2010-01-03 20:08:09 -0200
committerLeandro Pereira <leandro@hardinfo.org>2010-01-03 20:08:09 -0200
commit71c946914e692c1d2eda6f0dcdfdc1839789110b (patch)
tree079be72e50061f879a72fd062535d0db7b0387b7 /hardinfo2/arch/common/printers.h
parent631f3ba3ffadaddd79cbbfc8c49b92aca58c2138 (diff)
Add hi_module_deinit() functions to more modules.
Diffstat (limited to 'hardinfo2/arch/common/printers.h')
-rw-r--r--hardinfo2/arch/common/printers.h2
1 files changed, 1 insertions, 1 deletions
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)) {