mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +01:00
gobject: box GVariantDict
We will want to use this in GApplication for a signal and a property. https://bugzilla.gnome.org/show_bug.cgi?id=625408
This commit is contained in:
parent
14e62d1fa2
commit
78ec35f7ab
@ -408,6 +408,7 @@ g_time_zone_get_type
|
||||
g_variant_get_gtype
|
||||
g_variant_type_get_gtype
|
||||
g_variant_builder_get_type
|
||||
g_variant_dict_get_type
|
||||
g_gtype_get_type
|
||||
g_main_context_get_type
|
||||
g_main_loop_get_type
|
||||
|
@ -147,6 +147,7 @@ G_DEFINE_BOXED_TYPE (GVariantType, g_variant_type, g_variant_type_copy, g_varian
|
||||
#undef g_variant_type_get_type
|
||||
|
||||
G_DEFINE_BOXED_TYPE (GVariantBuilder, g_variant_builder, g_variant_builder_ref, g_variant_builder_unref)
|
||||
G_DEFINE_BOXED_TYPE (GVariantDict, g_variant_dict, g_variant_dict_ref, g_variant_dict_unref)
|
||||
|
||||
G_DEFINE_BOXED_TYPE (GError, g_error, g_error_copy, g_error_free)
|
||||
|
||||
|
@ -198,6 +198,15 @@ typedef gsize GType;
|
||||
*/
|
||||
#define G_TYPE_VARIANT_BUILDER (g_variant_builder_get_type ())
|
||||
|
||||
/**
|
||||
* G_TYPE_VARIANT_DICT:
|
||||
*
|
||||
* The #GType for a boxed type holding a #GVariantDict.
|
||||
*
|
||||
* Since: 2.40
|
||||
*/
|
||||
#define G_TYPE_VARIANT_DICT (g_variant_dict_get_type ())
|
||||
|
||||
/**
|
||||
* G_TYPE_MAIN_LOOP:
|
||||
*
|
||||
@ -313,6 +322,8 @@ GLIB_AVAILABLE_IN_ALL
|
||||
GType g_io_condition_get_type (void) G_GNUC_CONST;
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType g_variant_builder_get_type (void) G_GNUC_CONST;
|
||||
GLIB_AVAILABLE_IN_2_40
|
||||
GType g_variant_dict_get_type (void) G_GNUC_CONST;
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType g_key_file_get_type (void) G_GNUC_CONST;
|
||||
GLIB_AVAILABLE_IN_2_30
|
||||
|
Loading…
Reference in New Issue
Block a user