Top | ![]() |
![]() |
![]() |
![]() |
gchar *
as_description_markup_convert_simple (const gchar *markup
);
Converts an XML description markup into a simple printable form.
gchar *
as_get_current_locale (void
);
Returns a locale string as used in the AppStream specification.
gboolean
as_str_empty (const gchar *str
);
Test if a C string is NULL or empty (containing only spaces).
GDateTime *
as_iso8601_to_datetime (const gchar *iso_date
);
Helper function to work around a bug in g_time_val_from_iso8601. Can be dropped when the bug gets resolved upstream: https://bugzilla.gnome.org/show_bug.cgi?id=760983
gboolean as_utils_locale_is_compatible (const gchar *locale1
,const gchar *locale2
);
Calculates if one locale is compatible with another. When doing the calculation the locale and language code is taken into account if possible.
Since: 0.9.5