Updates to completion patch
* define private COMPL_MAX_ID
* use it to determine initial pool size
* fix use of uninitialized allocated memory
* cosmetics
# HG changeset patch
# Parent f8958ab545ac1af3e3fbc3b3b025de66fd1ffa51
api.h should include glib header
diff -r f8958ab545ac -r c6fafa6e6be9 mcabber/mcabber/api.h
--- a/mcabber/mcabber/api.h Mon Oct 15 19:53:02 2012 +0200
+++ b/mcabber/mcabber/api.h Thu Oct 18 21:48:25 2012 +0300
@@ -1,6 +1,7 @@
#ifndef __MCABBER_API_H__
#define __MCABBER_API_H__ 1
+#include <glib.h>
#include <mcabber/config.h> // For MCABBER_BRANCH
#define MCABBER_API_VERSION 23