mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 02:47:52 +02:00
Box GTimeZone to make it introspectable
https://bugzilla.gnome.org/show_bug.cgi?id=683167
This commit is contained in:
@@ -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 (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 (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 ())
|
||||
|
||||
/**
|
||||
* 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:
|
||||
*
|
||||
@@ -241,6 +250,7 @@ GLIB_AVAILABLE_IN_2_30
|
||||
GType g_match_info_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_time_zone_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_variant_builder_get_type (void) G_GNUC_CONST;
|
||||
|
@@ -16,6 +16,7 @@ g_boxed_free
|
||||
g_boxed_type_register_static
|
||||
g_date_get_type
|
||||
g_date_time_get_type
|
||||
g_time_zone_get_type
|
||||
g_gstring_get_type
|
||||
g_strv_get_type
|
||||
g_hash_table_get_type
|
||||
|
Reference in New Issue
Block a user