From: Daniele R. <dan...@gm...> - 2013-08-28 00:35:13
|
Hello list, I've found that libgpod requires this function: g_array_set_clear_func found at itdb_plist.c, line 281 which is stated by the doc to be present only since GLib 2.32: https://developer.gnome.org/glib/2.37/glib-Arrays.html#g-array-set-clear-func However, the configure script requires GLib >= 2.16.0. Shall I open a bug report for this? Cheers -- Daniele |
From: Christophe F. <cfe...@gm...> - 2013-09-04 11:31:21
|
2013/8/28 Daniele Ricci <dan...@gm...>: > Hello list, > I've found that libgpod requires this function: > g_array_set_clear_func found at itdb_plist.c, line 281 > > which is stated by the doc to be present only since GLib 2.32: > https://developer.gnome.org/glib/2.37/glib-Arrays.html#g-array-set-clear-func > > However, the configure script requires GLib >= 2.16.0. > Shall I open a bug report for this? Arg, I should have read my emails before pushing a new libgpod release :-/ Yes this should be fixed, my preference would be to have a compat fallback for g_array_set_clear_func when using older glib versions, dunno how hard it would be... Christophe |
From: Daniele R. <dan...@gm...> - 2013-09-04 11:38:27
|
You could define some macros to use instead of g_array_remove_* functions to call the original GLib Arrays remove and then free the element. Or something like that. On Wed, Sep 4, 2013 at 1:30 PM, Christophe Fergeau <cfe...@gm...> wrote: > 2013/8/28 Daniele Ricci <dan...@gm...>: >> Hello list, >> I've found that libgpod requires this function: >> g_array_set_clear_func found at itdb_plist.c, line 281 >> >> which is stated by the doc to be present only since GLib 2.32: >> https://developer.gnome.org/glib/2.37/glib-Arrays.html#g-array-set-clear-func >> >> However, the configure script requires GLib >= 2.16.0. >> Shall I open a bug report for this? > > Arg, I should have read my emails before pushing a new libgpod release > :-/ Yes this should be fixed, my preference would be to have a compat > fallback for g_array_set_clear_func when using older glib versions, > dunno how hard it would be... > > Christophe -- Daniele |