diff options
Diffstat (limited to 'gatchat/gatchat.c')
-rw-r--r-- | gatchat/gatchat.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c index c4de1471..e5b6ed7a 100644 --- a/gatchat/gatchat.c +++ b/gatchat/gatchat.c @@ -959,6 +959,14 @@ error: return NULL; } +GIOChannel *g_at_chat_get_channel(GAtChat *chat) +{ + if (chat == NULL) + return NULL; + + return chat->channel; +} + GAtChat *g_at_chat_ref(GAtChat *chat) { if (chat == NULL) |