mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-14 12:28:29 +01:00
Box GTimeZone to make it introspectable
https://bugzilla.gnome.org/show_bug.cgi?id=683167
This commit is contained in:
@@ -365,6 +365,7 @@ G_TYPE_BYTES
|
|||||||
G_TYPE_VARIANT_TYPE
|
G_TYPE_VARIANT_TYPE
|
||||||
G_TYPE_ERROR
|
G_TYPE_ERROR
|
||||||
G_TYPE_DATE_TIME
|
G_TYPE_DATE_TIME
|
||||||
|
G_TYPE_TIME_ZONE
|
||||||
G_TYPE_IO_CHANNEL
|
G_TYPE_IO_CHANNEL
|
||||||
G_TYPE_IO_CONDITION
|
G_TYPE_IO_CONDITION
|
||||||
G_TYPE_VARIANT_BUILDER
|
G_TYPE_VARIANT_BUILDER
|
||||||
@@ -389,6 +390,7 @@ g_byte_array_get_type
|
|||||||
g_ptr_array_get_type
|
g_ptr_array_get_type
|
||||||
g_error_get_type
|
g_error_get_type
|
||||||
g_date_time_get_type
|
g_date_time_get_type
|
||||||
|
g_time_zone_get_type
|
||||||
g_variant_get_gtype
|
g_variant_get_gtype
|
||||||
g_variant_type_get_gtype
|
g_variant_type_get_gtype
|
||||||
g_variant_builder_get_type
|
g_variant_builder_get_type
|
||||||
|
|||||||
@@ -144,6 +144,7 @@ G_DEFINE_BOXED_TYPE (GVariantBuilder, g_variant_builder, g_variant_builder_ref,
|
|||||||
G_DEFINE_BOXED_TYPE (GError, g_error, g_error_copy, g_error_free)
|
G_DEFINE_BOXED_TYPE (GError, g_error, g_error_copy, g_error_free)
|
||||||
|
|
||||||
G_DEFINE_BOXED_TYPE (GDateTime, g_date_time, g_date_time_ref, g_date_time_unref);
|
G_DEFINE_BOXED_TYPE (GDateTime, g_date_time, g_date_time_ref, g_date_time_unref);
|
||||||
|
G_DEFINE_BOXED_TYPE (GTimeZone, g_time_zone, g_time_zone_ref, g_time_zone_unref);
|
||||||
G_DEFINE_BOXED_TYPE (GKeyFile, g_key_file, g_key_file_ref, g_key_file_unref)
|
G_DEFINE_BOXED_TYPE (GKeyFile, g_key_file, g_key_file_ref, g_key_file_unref)
|
||||||
|
|
||||||
G_DEFINE_BOXED_TYPE (GMainLoop, g_main_loop, g_main_loop_ref, g_main_loop_unref)
|
G_DEFINE_BOXED_TYPE (GMainLoop, g_main_loop, g_main_loop_ref, g_main_loop_unref)
|
||||||
|
|||||||
@@ -168,6 +168,15 @@ typedef gsize GType;
|
|||||||
*/
|
*/
|
||||||
#define G_TYPE_DATE_TIME (g_date_time_get_type ())
|
#define G_TYPE_DATE_TIME (g_date_time_get_type ())
|
||||||
|
|
||||||
|
/**
|
||||||
|
* G_TYPE_TIME_ZONE:
|
||||||
|
*
|
||||||
|
* The #GType for a boxed type holding a #GTimeZone.
|
||||||
|
*
|
||||||
|
* Since: 2.34
|
||||||
|
*/
|
||||||
|
#define G_TYPE_TIME_ZONE (g_time_zone_get_type ())
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* G_TYPE_IO_CHANNEL:
|
* G_TYPE_IO_CHANNEL:
|
||||||
*
|
*
|
||||||
@@ -241,6 +250,7 @@ GLIB_AVAILABLE_IN_2_30
|
|||||||
GType g_match_info_get_type (void) G_GNUC_CONST;
|
GType g_match_info_get_type (void) G_GNUC_CONST;
|
||||||
GType g_error_get_type (void) G_GNUC_CONST;
|
GType g_error_get_type (void) G_GNUC_CONST;
|
||||||
GType g_date_time_get_type (void) G_GNUC_CONST;
|
GType g_date_time_get_type (void) G_GNUC_CONST;
|
||||||
|
GType g_time_zone_get_type (void) G_GNUC_CONST;
|
||||||
GType g_io_channel_get_type (void) G_GNUC_CONST;
|
GType g_io_channel_get_type (void) G_GNUC_CONST;
|
||||||
GType g_io_condition_get_type (void) G_GNUC_CONST;
|
GType g_io_condition_get_type (void) G_GNUC_CONST;
|
||||||
GType g_variant_builder_get_type (void) G_GNUC_CONST;
|
GType g_variant_builder_get_type (void) G_GNUC_CONST;
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ g_boxed_free
|
|||||||
g_boxed_type_register_static
|
g_boxed_type_register_static
|
||||||
g_date_get_type
|
g_date_get_type
|
||||||
g_date_time_get_type
|
g_date_time_get_type
|
||||||
|
g_time_zone_get_type
|
||||||
g_gstring_get_type
|
g_gstring_get_type
|
||||||
g_strv_get_type
|
g_strv_get_type
|
||||||
g_hash_table_get_type
|
g_hash_table_get_type
|
||||||
|
|||||||
Reference in New Issue
Block a user