diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-10-21 23:12:21 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-10-21 23:12:21 +0000 |
commit | 34c56c7db7c57f5db0184489d01866902e992300 (patch) | |
tree | 8707a14ac8f786ff684279be77e66946f235b751 /src/trg-client.c | |
parent | 3b8fd9e7274477cfad98d66e41a43417ce8d21bf (diff) |
make the execute command tree view in preferences a generic widget, the "persistent tree view"
Diffstat (limited to 'src/trg-client.c')
-rw-r--r-- | src/trg-client.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/trg-client.c b/src/trg-client.c index 2d3fbe6..2f42d99 100644 --- a/src/trg-client.c +++ b/src/trg-client.c @@ -386,6 +386,12 @@ void trg_client_updatelock(TrgClient *tc) g_mutex_lock(priv->updateMutex); } +void trg_client_configlock(TrgClient *tc) +{ + TrgClientPrivate *priv = TRG_CLIENT_GET_PRIVATE(tc); + g_mutex_lock(priv->configMutex); +} + guint trg_client_get_failcount(TrgClient *tc) { TrgClientPrivate *priv = TRG_CLIENT_GET_PRIVATE(tc); @@ -410,6 +416,12 @@ void trg_client_updateunlock(TrgClient *tc) g_mutex_unlock(priv->updateMutex); } +void trg_client_configunlock(TrgClient *tc) +{ + TrgClientPrivate *priv = TRG_CLIENT_GET_PRIVATE(tc); + g_mutex_unlock(priv->configMutex); +} + /* formerly http.c */ void trg_response_free(trg_response *response) |