Fix gamin/fam difference build issue. (#509419)

2008-01-30  Alexander Larsson  <alexl@redhat.com>

	* fam/fam-helper.c:
	Fix gamin/fam difference build issue. (#509419)


svn path=/trunk/; revision=6422
This commit is contained in:
Alexander Larsson 2008-01-30 09:14:58 +00:00 committed by Alexander Larsson
parent cfedcdb15a
commit 0234965965
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-01-30 Alexander Larsson <alexl@redhat.com>
* fam/fam-helper.c:
Fix gamin/fam difference build issue. (#509419)
2008-01-29 Alexander Larsson <alexl@redhat.com>
* gappinfo.h:

View File

@ -41,8 +41,13 @@ struct _fam_sub
FAMRequest request;
};
static GFileMonitorEvent
fam_event_to_file_monitor_event (FAMCodes code)
/* This uses int as the argument type because the
real type differs between implementations:
gamin has "typedef enum FAMCodes {....} FAMCodes;"
fam has "enum FAMCodes { ... }".
*/
static GFileMonitorEvent
fam_event_to_file_monitor_event (int code)
{
switch (code)
{