[glib] Fix up g_variant_compare addition
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix up g_variant_compare addition
- Date: Fri, 23 Apr 2010 00:51:06 +0000 (UTC)
commit b2ee97d00db227c042158951467495baf68529e4
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Apr 22 20:48:24 2010 -0400
Fix up g_variant_compare addition
docs/reference/glib/glib-sections.txt | 1 +
glib/glib.symbols | 1 +
glib/gvariant.c | 2 ++
glib/gvariant.h | 3 ++-
4 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/glib/glib-sections.txt b/docs/reference/glib/glib-sections.txt
index bcfa7b0..dc6991b 100644
--- a/docs/reference/glib/glib-sections.txt
+++ b/docs/reference/glib/glib-sections.txt
@@ -2793,6 +2793,7 @@ g_variant_get_type
g_variant_get_type_string
g_variant_is_of_type
g_variant_is_container
+g_variant_compare
<SUBSECTION>
g_variant_classify
diff --git a/glib/glib.symbols b/glib/glib.symbols
index f9a0d8d..b101ec8 100644
--- a/glib/glib.symbols
+++ b/glib/glib.symbols
@@ -1714,6 +1714,7 @@ g_variant_get_type_string
g_variant_is_of_type
g_variant_is_container
g_variant_classify
+g_variant_compare
g_variant_new_boolean
g_variant_new_byte
diff --git a/glib/gvariant.c b/glib/gvariant.c
index 9e63dab..c4ea71a 100644
--- a/glib/gvariant.c
+++ b/glib/gvariant.c
@@ -1944,6 +1944,8 @@ g_variant_equal (gconstpointer one,
*
* If you only require an equality comparison, g_variant_equal() is more
* general.
+ *
+ * Since: 2.26
**/
gint
g_variant_compare (gconstpointer one,
diff --git a/glib/gvariant.h b/glib/gvariant.h
index 9a17157..6392792 100644
--- a/glib/gvariant.h
+++ b/glib/gvariant.h
@@ -62,7 +62,6 @@ gboolean g_variant_is_of_type (GVarian
const GVariantType *type);
gboolean g_variant_is_container (GVariant *value);
GVariantClass g_variant_classify (GVariant *value);
-
GVariant * g_variant_new_boolean (gboolean boolean);
GVariant * g_variant_new_byte (guchar byte);
GVariant * g_variant_new_int16 (gint16 int16);
@@ -219,6 +218,8 @@ GVariant * g_variant_new_parsed (const g
GVariant * g_variant_new_parsed_va (const gchar *format,
va_list *app);
+gint g_variant_compare (gconstpointer one,
+ gconstpointer two);
G_END_DECLS
#endif /* __G_VARIANT_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]