mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +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>
|
2008-03-14 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* fam/fam-helper.[ch]:
|
* fam/fam-helper.[ch]:
|
||||||
|
@ -249,9 +249,10 @@ g_file_monitor_init (GFileMonitor *monitor)
|
|||||||
gboolean
|
gboolean
|
||||||
g_file_monitor_is_cancelled (GFileMonitor *monitor)
|
g_file_monitor_is_cancelled (GFileMonitor *monitor)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (G_IS_FILE_MONITOR (monitor), FALSE);
|
|
||||||
gboolean res;
|
gboolean res;
|
||||||
|
|
||||||
|
g_return_val_if_fail (G_IS_FILE_MONITOR (monitor), FALSE);
|
||||||
|
|
||||||
G_LOCK (cancelled);
|
G_LOCK (cancelled);
|
||||||
res = monitor->priv->cancelled;
|
res = monitor->priv->cancelled;
|
||||||
G_UNLOCK (cancelled);
|
G_UNLOCK (cancelled);
|
||||||
|
Loading…
Reference in New Issue
Block a user