diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2012-03-17 22:04:24 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2012-03-17 22:04:24 +0000 |
commit | 8024343b6537fc0e25c51ee958d45ec30b97493f (patch) | |
tree | 76d7b50a7bcf291d24a367fc26eb184a84f665ce /src/trg-client.c | |
parent | 62fa0a364fb7eaccab9e8037e9f607f78a088dbb (diff) |
issue 188
Diffstat (limited to 'src/trg-client.c')
-rw-r--r-- | src/trg-client.c | 7 |
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); +} |