diff options
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); +} |