Shut down fam (including removing fam GSource) when module is unloaded

2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * fam/fam-helper.[ch]:
        * fam/fam-module.c:
	Shut down fam (including removing fam GSource) when
	module is unloaded (#521513)
	Patch from Joe Marcus Clarke   


svn path=/trunk/; revision=6706
This commit is contained in:
Alexander Larsson
2008-03-14 11:02:42 +00:00
committed by Alexander Larsson
parent 9555a3a2ca
commit 6fc66109a0
4 changed files with 27 additions and 0 deletions

View File

@@ -26,6 +26,7 @@
#include "giomodule.h"
#include "gfamdirectorymonitor.h"
#include "gfamfilemonitor.h"
#include "fam-helper.h"
void
g_io_module_load (GIOModule *module)
@@ -37,5 +38,6 @@ g_io_module_load (GIOModule *module)
void
g_io_module_unload (GIOModule *module)
{
_fam_sub_shutdown ();
}