2008-03-14 Alexander Larsson <alexl@redhat.com>
* gfilemonitor.c:
(g_file_monitor_is_cancelled):
Fix C89 issue (#521672)
Patch from Jens Granseuer
svn path=/trunk/; revision=6708
+2008-03-14 Alexander Larsson <alexl@redhat.com>
+
+ * gfilemonitor.c:
+ (g_file_monitor_is_cancelled):
+ Fix C89 issue (#521672)
+ Patch from Jens Granseuer
+
2008-03-14 Alexander Larsson <alexl@redhat.com>
* fam/fam-helper.[ch]:
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);