Jan Alexander Steffens (heftig) c7d11d3418
macros: Double-cast func for g_autolist to avoid warning
For g_autolist and g_autoslist, the cleanup func was cast to
GDestroyNotify before being passed to g_(s)list_free_full. This cast
provokes GCC 8 to emit a warning if the return type is not void:

    …/gmacros.h:462:99: warning: cast between incompatible function types
    from … to 'void (*)(void *)' [-Wcast-function-type]

Cast to 'void (*)(void)' first, which suppresses the warning as
recommended by the GCC documentation. g_autoptr remains untouched.

Fixes https://gitlab.gnome.org/GNOME/glib/issues/1382
2018-05-25 14:14:40 +02:00
..
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2015-06-29 08:20:26 -07:00
2017-05-24 11:58:19 +02:00
2010-07-10 23:56:45 -04:00
2017-05-24 11:58:19 +02:00
2017-02-20 12:40:26 +01:00
2018-04-26 15:19:17 +01:00
2014-10-02 14:41:01 -04:00
2010-07-05 23:43:47 -04:00
2012-04-08 10:24:52 -04:00
2011-02-13 23:49:19 -05:00
2017-05-24 11:58:19 +02:00
2011-10-08 19:02:06 -04:00
2017-05-24 11:58:19 +02:00
2013-11-23 00:39:07 -05:00
2010-07-07 22:03:02 -04:00
2018-04-11 13:58:55 +00:00
2017-05-24 11:58:19 +02:00
2011-10-13 01:00:57 -04:00
2017-05-24 11:58:19 +02:00
2011-01-27 23:07:53 -05:00
2017-05-24 11:58:19 +02:00
2011-06-03 23:38:46 -04:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2015-09-12 11:13:45 -04:00
2017-05-24 11:58:19 +02:00
2015-08-31 13:59:48 -04:00
2014-01-01 22:39:32 -05:00
2017-05-24 11:58:19 +02:00
2017-07-05 17:53:07 +02:00
2017-05-24 11:58:19 +02:00
2017-11-07 08:28:45 -08:00