[grilo] core: Move GRL_METADATA_KEY_CHILDCOUNT_UNKNOWN to definitions
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] core: Move GRL_METADATA_KEY_CHILDCOUNT_UNKNOWN to definitions
- Date: Wed, 19 Jan 2011 11:41:56 +0000 (UTC)
commit c9d58932a81e7bab366610ddc636b830d9c24d6f
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Wed Jan 19 11:18:37 2011 +0000
core: Move GRL_METADATA_KEY_CHILDCOUNT_UNKNOWN to definitions
Fits better there.
Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>
src/grl-definitions.h | 3 +++
src/grl-metadata-key.c | 1 +
src/grl-metadata-key.h | 2 --
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/grl-definitions.h b/src/grl-definitions.h
index f35769f..e1fb67e 100644
--- a/src/grl-definitions.h
+++ b/src/grl-definitions.h
@@ -35,4 +35,7 @@
have more impact on the memory footprint */
#define GRL_PADDING_SMALL 8
+/* Value used when childcount is unknown */
+#define GRL_METADATA_KEY_CHILDCOUNT_UNKNOWN -1
+
#endif
diff --git a/src/grl-metadata-key.c b/src/grl-metadata-key.c
index 801e57c..96e7fd0 100644
--- a/src/grl-metadata-key.c
+++ b/src/grl-metadata-key.c
@@ -22,6 +22,7 @@
#include "grl-metadata-key.h"
#include "grl-metadata-key-priv.h"
+#include "grl-definitions.h"
#include <stdarg.h>
diff --git a/src/grl-metadata-key.h b/src/grl-metadata-key.h
index 7e0e388..876f4a0 100644
--- a/src/grl-metadata-key.h
+++ b/src/grl-metadata-key.h
@@ -35,8 +35,6 @@
#define GRL_METADATA_KEY_GET_DESC(key) (g_param_spec_get_blurb(key))
#define GRL_METADATA_KEY_GET_TYPE(key) (G_PARAM_SPEC_VALUE_TYPE(key))
-#define GRL_METADATA_KEY_CHILDCOUNT_UNKNOWN -1
-
#define GRL_KEYID_FORMAT "p"
#define grl_metadata_key_list_new(first_key, ...) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]