mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
Fix C89 issue (#521672) Patch from Jens Granseuer
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
This commit is contained in:
parent
6fc66109a0
commit
6088f22d26
@ -1,3 +1,10 @@
|
||||
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]:
|
||||
|
@ -249,9 +249,10 @@ g_file_monitor_init (GFileMonitor *monitor)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user