summaryrefslogtreecommitdiff
path: root/src/trg-client.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-03-17 22:04:24 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-03-17 22:04:24 +0000
commit8024343b6537fc0e25c51ee958d45ec30b97493f (patch)
tree76d7b50a7bcf291d24a367fc26eb184a84f665ce /src/trg-client.c
parent62fa0a364fb7eaccab9e8037e9f607f78a088dbb (diff)
issue 188
Diffstat (limited to 'src/trg-client.c')
-rw-r--r--src/trg-client.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/trg-client.c b/src/trg-client.c
index 87110d7..311321f 100644
--- a/src/trg-client.c
+++ b/src/trg-client.c
@@ -36,6 +36,7 @@
#include "trg-prefs.h"
#include "protocol-constants.h"
#include "util.h"
+#include "requests.h"
#include "trg-client.h"
/* This class manages/does quite a few things, and is passed around a lot. It:
@@ -688,3 +689,9 @@ dispatch_async_str(TrgClient * tc, gchar * req,
return dispatch_async_common(tc, trg_req, callback, data);
}
+
+gboolean trg_client_update_session(TrgClient *tc, GSourceFunc callback, gpointer data)
+{
+ return dispatch_async(tc, session_get(), callback,
+ data);
+}