[Telepathy-commits] [telepathy-gabble/master] define G_PARAM_STATIC_STRINGS if not already defined
Dafydd Harries
dafydd.harries at collabora.co.uk
Tue Aug 19 10:53:27 PDT 2008
20080721162725-c9803-113db2dc1a2a81302ab7cd4b16663aba47765e94.gz
---
src/util.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/util.h b/src/util.h
index 810b7ee..a4331e4 100644
--- a/src/util.h
+++ b/src/util.h
@@ -32,6 +32,12 @@
#include "types.h"
#include "sha1/sha1.h"
+/* In case we're building with GLib < 2.13. */
+#ifndef G_PARAM_STATIC_STRINGS
+#define G_PARAM_STATIC_STRINGS \
+ (G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)
+#endif
+
gchar *sha1_hex (const gchar *bytes, guint len);
void sha1_bin (const gchar *bytes, guint len, guchar out[SHA1_HASH_SIZE]);
void lm_message_node_add_own_nick (LmMessageNode *node,
--
1.5.6.3
More information about the Telepathy-commits
mailing list