libpurple/protocols/gg/chat.c

changeset 34437
ca6d1b4d24b5
parent 34430
15639e15839e
child 34473
fb04c75906e0
child 34954
6cafff03b4c2
--- a/libpurple/protocols/gg/chat.c	Mon Sep 16 10:31:57 2013 +0200
+++ b/libpurple/protocols/gg/chat.c	Mon Sep 16 11:08:09 2013 +0200
@@ -6,6 +6,8 @@
 #include "utils.h"
 #include "message-prpl.h"
 
+#if GGP_ENABLE_GG11
+
 typedef struct _ggp_chat_local_info ggp_chat_local_info;
 
 struct _ggp_chat_session_data
@@ -605,3 +607,13 @@
 	purple_timeout_add(1, ggp_chat_roomlist_get_list_finish, roomlist);
 	return roomlist;
 }
+
+#else
+void ggp_chat_setup(PurpleConnection *gc)
+{
+}
+
+void ggp_chat_cleanup(PurpleConnection *gc)
+{
+}
+#endif

mercurial