aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorVadim Rutkovsky <vrutkovs@redhat.com>2013-02-14 01:46:30 +0800
committerVadim Rutkovsky <vrutkovs@redhat.com>2013-02-14 01:46:30 +0800
commitda975dadf59db4410ee1796b93fd9c423958b98d (patch)
treed5b1ffc14a5b47123cb5f6f70a6fee160d9dac38 /calendar/gui
parent3b11207dcbd01b5a18f93a406d267bb786829471 (diff)
downloadgsoc2013-evolution-da975dadf59db4410ee1796b93fd9c423958b98d.tar
gsoc2013-evolution-da975dadf59db4410ee1796b93fd9c423958b98d.tar.gz
gsoc2013-evolution-da975dadf59db4410ee1796b93fd9c423958b98d.tar.bz2
gsoc2013-evolution-da975dadf59db4410ee1796b93fd9c423958b98d.tar.lz
gsoc2013-evolution-da975dadf59db4410ee1796b93fd9c423958b98d.tar.xz
gsoc2013-evolution-da975dadf59db4410ee1796b93fd9c423958b98d.tar.zst
gsoc2013-evolution-da975dadf59db4410ee1796b93fd9c423958b98d.zip
Replace deprecated static mutexes
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-meeting-store.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c
index 88e4be47e1..d1f2d6acb7 100644
--- a/calendar/gui/e-meeting-store.c
+++ b/calendar/gui/e-meeting-store.c
@@ -1600,7 +1600,7 @@ freebusy_async (gpointer data)
EMeetingAttendee *attendee = fbd->attendee;
gchar *default_fb_uri = NULL;
gchar *fburi = NULL;
- static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
+ static GMutex mutex;
EMeetingStorePrivate *priv = fbd->store->priv;
if (fbd->client) {
@@ -1608,7 +1608,7 @@ freebusy_async (gpointer data)
/* FIXME This a workaround for getting all the free busy
* information for the users. We should be able to
* get free busy asynchronously. */
- g_static_mutex_lock (&mutex);
+ g_mutex_lock (&mutex);
priv->num_queries++;
sigid = g_signal_connect (
fbd->client, "free-busy-data",
@@ -1618,7 +1618,7 @@ freebusy_async (gpointer data)
fbd->endt, fbd->users, NULL, NULL);
g_signal_handler_disconnect (fbd->client, sigid);
priv->num_queries--;
- g_static_mutex_unlock (&mutex);
+ g_mutex_unlock (&mutex);
g_slist_foreach (fbd->users, (GFunc) g_free, NULL);
g_slist_free (fbd->users);