diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2010-01-03 17:19:07 -0200 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2010-01-03 17:19:07 -0200 |
commit | 93f39a984398e9f4d187b66eb272ec0bf48845e0 (patch) | |
tree | 35a14aa48a17c5281a9e6e697aac734233afa9e4 /hardinfo2/shell.h | |
parent | c8bc96a5431c1435be52a268d5a14c13ef90006d (diff) |
Add a module deinitialization function, so modules can deallocate memory on unload.
Diffstat (limited to 'hardinfo2/shell.h')
-rw-r--r-- | hardinfo2/shell.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |