glib r6422 - in trunk/gio: . fam



Author: alexl
Date: Wed Jan 30 09:14:58 2008
New Revision: 6422
URL: http://svn.gnome.org/viewvc/glib?rev=6422&view=rev

Log:
2008-01-30  Alexander Larsson  <alexl redhat com>

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



Modified:
   trunk/gio/ChangeLog
   trunk/gio/fam/fam-helper.c

Modified: trunk/gio/fam/fam-helper.c
==============================================================================
--- trunk/gio/fam/fam-helper.c	(original)
+++ trunk/gio/fam/fam-helper.c	Wed Jan 30 09:14:58 2008
@@ -41,8 +41,13 @@
   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)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]