From 93f39a984398e9f4d187b66eb272ec0bf48845e0 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 3 Jan 2010 17:19:07 -0200 Subject: Add a module deinitialization function, so modules can deallocate memory on unload. --- hardinfo2/shell.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hardinfo2/shell.h') diff --git a/hardinfo2/shell.h b/hardinfo2/shell.h index 736e41cd..90e7bdc1 100644 --- a/hardinfo2/shell.h +++ b/hardinfo2/shell.h @@ -130,6 +130,7 @@ struct _ShellModule { GdkPixbuf *icon; GModule *dll; gpointer (*aboutfunc) (); + void (*deinit) (); guchar weight; -- cgit v1.2.3