Proper glib version check

This commit is contained in:
o9000 2017-03-04 12:23:52 +01:00
parent 8e8046af6d
commit 330f1093bb

View file

@ -618,7 +618,7 @@ void get_text_size2(PangoFontDescription *font,
XFreePixmap(server.display, pmap); XFreePixmap(server.display, pmap);
} }
#if !GLIB_CHECK_VERSION(2, 33, 4) #if !GLIB_CHECK_VERSION(2, 34, 0)
GList *g_list_copy_deep(GList *list, GCopyFunc func, gpointer user_data) GList *g_list_copy_deep(GList *list, GCopyFunc func, gpointer user_data)
{ {
list = g_list_copy(list); list = g_list_copy(list);