aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-store.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-06-22 22:32:36 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-06-22 22:32:36 +0800
commit6233ffcdc44f613aed1314ed2c8ac605115b5fa4 (patch)
tree8cfda10bacc9b6aa392e2ddc7ee5e801eab8d98a /calendar/gui/e-meeting-store.c
parentca3816102af57541751a1f9a92a8d04a0a7fa3b9 (diff)
downloadgsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar.gz
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar.bz2
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar.lz
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar.xz
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar.zst
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.zip
Commiting the fix for free busy and sensitizing the attachment bar properly.
svn path=/trunk/; revision=29566
Diffstat (limited to 'calendar/gui/e-meeting-store.c')
-rw-r--r--calendar/gui/e-meeting-store.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c
index 7cbfbe2b79..6eaf3da250 100644
--- a/calendar/gui/e-meeting-store.c
+++ b/calendar/gui/e-meeting-store.c
@@ -1225,9 +1225,14 @@ freebusy_async (gpointer data)
FreeBusyAsyncData *fbd = data;
EMeetingAttendee *attendee = fbd->attendee;
gchar *default_fb_uri;
+ static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
if (fbd->client) {
+ /* FIXME this a work around for getting all th free busy information for the users
+ we should be able to get free busy asynchronously */
+ g_mutex_lock (&mutex);
e_cal_get_free_busy (fbd->client, fbd->users, fbd->startt, fbd->endt, &(fbd->fb_data), NULL);
+ g_mutex_unlock (&mutex);
g_list_foreach (fbd->users, (GFunc)g_free, NULL);
g_list_free (fbd->users);