From 34c56c7db7c57f5db0184489d01866902e992300 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Fri, 21 Oct 2011 23:12:21 +0000 Subject: make the execute command tree view in preferences a generic widget, the "persistent tree view" --- src/trg-client.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/trg-client.c') 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) -- cgit v1.2.3