glib r6708 - trunk/gio



Author: alexl
Date: Fri Mar 14 11:06:01 2008
New Revision: 6708
URL: http://svn.gnome.org/viewvc/glib?rev=6708&view=rev

Log:
2008-03-14  Alexander Larsson  <alexl redhat com>

        * gfilemonitor.c:
        (g_file_monitor_is_cancelled):
	Fix C89 issue (#521672)
	Patch from Jens Granseuer



Modified:
   trunk/gio/ChangeLog
   trunk/gio/gfilemonitor.c

Modified: trunk/gio/gfilemonitor.c
==============================================================================
--- trunk/gio/gfilemonitor.c	(original)
+++ trunk/gio/gfilemonitor.c	Fri Mar 14 11:06:01 2008
@@ -249,9 +249,10 @@
 gboolean
 g_file_monitor_is_cancelled (GFileMonitor *monitor)
 {
-  g_return_val_if_fail (G_IS_FILE_MONITOR (monitor), FALSE);
   gboolean res;
 
+  g_return_val_if_fail (G_IS_FILE_MONITOR (monitor), FALSE);
+
   G_LOCK (cancelled);
   res = monitor->priv->cancelled;
   G_UNLOCK (cancelled);



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