gio-standalone r735 - in trunk: . gio



Author: sdroege
Date: 2007-11-11 14:22:22 +0000 (Sun, 11 Nov 2007)
New Revision: 735
ViewCVS link: http://svn.gnome.org/viewcvs/gio-standalone?rev=735&view=rev

Modified:
   trunk/ChangeLog
   trunk/gio/glocaldirectorymonitor.c
   trunk/gio/glocalfilemonitor.c
   trunk/gio/gunionvolumemonitor.c
Log:
* gio/glocaldirectorymonitor.c:
* gio/glocalfilemonitor.c:
* gio/gunionvolumemonitor.c:
Don't use g_once_init_*() for initializations that could fail and
could leave the initialization variable set to 0 but use GOnce.
This prevents a deadlock on the second call when trying to create
a monitor and no monitor type is available. Thanks to Sven Herzberg
for reporting.





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