glib r6709 - branches/glib-2-16/gio



Author: alexl
Date: Fri Mar 14 11:06:16 2008
New Revision: 6709
URL: http://svn.gnome.org/viewvc/glib?rev=6709&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:
   branches/glib-2-16/gio/ChangeLog
   branches/glib-2-16/gio/gfilemonitor.c

Modified: branches/glib-2-16/gio/gfilemonitor.c
==============================================================================
--- branches/glib-2-16/gio/gfilemonitor.c	(original)
+++ branches/glib-2-16/gio/gfilemonitor.c	Fri Mar 14 11:06:16 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]