summaryrefslogtreecommitdiff
path: root/src/trg-client.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-08-26 20:18:11 +0100
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-08-26 20:18:11 +0100
commit28b1af7e5d73f8bacc3dca76166138bc3d4d24a5 (patch)
treed69b25e7b0389bf1e4f8de2bb459aa30f1bbf8d4 /src/trg-client.c
parentfbfb76e99858588292aa6e929dcfe6acae3912b7 (diff)
add the peers/files/trackers tree view to torrent dialog in transmission style
Diffstat (limited to 'src/trg-client.c')
-rw-r--r--src/trg-client.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/trg-client.c b/src/trg-client.c
index 9f01f1f..b2540fc 100644
--- a/src/trg-client.c
+++ b/src/trg-client.c
@@ -78,7 +78,6 @@ struct _TrgClientPrivate {
char *proxy;
GHashTable *torrentTable;
GThreadPool *pool;
- GMutex *updateMutex;
TrgPrefs *prefs;
GPrivate *tlsKey;
gint configSerial;
@@ -156,7 +155,6 @@ TrgClient *trg_client_new(void)
trg_prefs_load(prefs);
- priv->updateMutex = g_mutex_new();
priv->configMutex = g_mutex_new();
priv->tlsKey = g_private_new(NULL);
priv->seedRatioLimited = FALSE;
@@ -400,12 +398,6 @@ gboolean trg_client_is_connected(TrgClient * tc)
return priv->session != NULL;
}
-void trg_client_updatelock(TrgClient * tc)
-{
- TrgClientPrivate *priv = tc->priv;
- g_mutex_lock(priv->updateMutex);
-}
-
void trg_client_configlock(TrgClient * tc)
{
g_mutex_lock(tc->priv->configMutex);
@@ -427,11 +419,6 @@ void trg_client_reset_failcount(TrgClient * tc)
tc->priv->failCount = 0;
}
-void trg_client_updateunlock(TrgClient * tc)
-{
- g_mutex_unlock(tc->priv->updateMutex);
-}
-
void trg_client_configunlock(TrgClient * tc)
{
g_mutex_unlock(tc->priv->configMutex);