Ticket #4053: 4053.patch

File 4053.patch, 631 bytes (added by andrew_b, 4 years ago)
  • lib/glibcompat.c

    diff --git a/lib/glibcompat.c b/lib/glibcompat.c
    index 48a2409e5..d0f8d5b4f 100644
    a b g_list_free_full (GList * list, GDestroyNotify free_func) 
    104104 * Since: 2.64 
    105105 */ 
    106106void 
    107 g_clear_slist (GSList ** slist_ptr, GDestroyNotify destroy) 
     107(g_clear_slist) (GSList ** slist_ptr, GDestroyNotify destroy) 
    108108{ 
    109109    GSList *slist; 
    110110 
    g_clear_slist (GSList ** slist_ptr, GDestroyNotify destroy) 
    135135 * Since: 2.64 
    136136 */ 
    137137void 
    138 g_clear_list (GList ** list_ptr, GDestroyNotify destroy) 
     138(g_clear_list) (GList ** list_ptr, GDestroyNotify destroy) 
    139139{ 
    140140    GList *list; 
    141141