diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-02 17:41:40 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-02 17:41:40 +0800 |
commit | b7ccee52fffc1dd35e9f8ff9353b0fc135fc2b85 (patch) | |
tree | 7166d75c0bfe6f058f9750d4968e0ce22420c9b0 /libempathy-gtk/empathy-chat.c | |
parent | 417a0425a90041d078047c446e9a9a78d6d9576b (diff) | |
download | gsoc2013-empathy-b7ccee52fffc1dd35e9f8ff9353b0fc135fc2b85.tar gsoc2013-empathy-b7ccee52fffc1dd35e9f8ff9353b0fc135fc2b85.tar.gz gsoc2013-empathy-b7ccee52fffc1dd35e9f8ff9353b0fc135fc2b85.tar.bz2 gsoc2013-empathy-b7ccee52fffc1dd35e9f8ff9353b0fc135fc2b85.tar.lz gsoc2013-empathy-b7ccee52fffc1dd35e9f8ff9353b0fc135fc2b85.tar.xz gsoc2013-empathy-b7ccee52fffc1dd35e9f8ff9353b0fc135fc2b85.tar.zst gsoc2013-empathy-b7ccee52fffc1dd35e9f8ff9353b0fc135fc2b85.zip |
Add empathy_chat_new and don't use empathy_group/private_* in empathy.c
svn path=/trunk/; revision=836
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 9c6b61d27..082f33c92 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -1281,6 +1281,12 @@ empathy_chat_init (EmpathyChat *chat) NULL); } +EmpathyChat * +empathy_chat_new (EmpathyTpChat *tp_chat) +{ + return g_object_new (EMPATHY_TYPE_CHAT, "tp-chat", tp_chat, NULL); +} + gboolean empathy_chat_get_is_command (const gchar *str) { |