mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
compat for glib 2.55
This commit is contained in:
parent
fdd61f5898
commit
6a33139939
3 changed files with 24 additions and 19 deletions
|
|
@ -19,6 +19,13 @@ int g_timeval_cmp(const GTimeVal *tv1, const GTimeVal *tv2) G_GNUC_DEPRECATED;
|
|||
long get_timeval_diff(const GTimeVal *tv1, const GTimeVal *tv2) G_GNUC_DEPRECATED;
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#if GLIB_CHECK_VERSION(2, 56, 0)
|
||||
/* nothing */
|
||||
#else
|
||||
/* compatibility code for old GLib */
|
||||
GDateTime *g_date_time_new_from_iso8601(const gchar *iso_date, GTimeZone *default_tz);
|
||||
#endif
|
||||
|
||||
GSList *i_slist_find_string(GSList *list, const char *key);
|
||||
GSList *i_slist_find_icase_string(GSList *list, const char *key);
|
||||
GList *i_list_find_string(GList *list, const char *key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue