Ticket #4053: 4053.2.patch

File 4053.2.patch, 1.4 KB (added by andrew_b, 4 years ago)
  • lib/glibcompat.c

    diff --git a/lib/glibcompat.c b/lib/glibcompat.c
    index 48a2409e5..e747690b1 100644
    a b g_list_free_full (GList * list, GDestroyNotify free_func) 
    9191 
    9292#endif /* ! GLIB_CHECK_VERSION (2, 28, 0) */ 
    9393 
    94 #if ! GLIB_CHECK_VERSION (2, 64, 0) 
     94#if ! GLIB_CHECK_VERSION (2, 63, 3) 
    9595/** 
    9696 * g_clear_slist: (skip) 
    9797 * @slist_ptr: (not nullable): a #GSList return location 
    g_clear_list (GList ** list_ptr, GDestroyNotify destroy) 
    154154 
    155155/* --------------------------------------------------------------------------------------------- */ 
    156156 
    157 #endif /* ! GLIB_CHECK_VERSION (2, 64, 0) */ 
     157#endif /* ! GLIB_CHECK_VERSION (2, 63, 3) */ 
    158158 
    159159#if ! GLIB_CHECK_VERSION (2, 32, 0) 
    160160/** 
  • lib/glibcompat.h

    diff --git a/lib/glibcompat.h b/lib/glibcompat.h
    index 94f7737a7..c48ebbe71 100644
    a b void g_slist_free_full (GSList * list, GDestroyNotify free_func); 
    1616void g_list_free_full (GList * list, GDestroyNotify free_func); 
    1717#endif /* ! GLIB_CHECK_VERSION (2, 28, 0) */ 
    1818 
    19 #if ! GLIB_CHECK_VERSION (2, 64, 0) 
     19#if ! GLIB_CHECK_VERSION (2, 63, 3) 
    2020void g_clear_slist (GSList ** slist_ptr, GDestroyNotify destroy); 
    2121void g_clear_list (GList ** list_ptr, GDestroyNotify destroy); 
    22 #endif /* ! GLIB_CHECK_VERSION (2, 64, 0) */ 
     22#endif /* ! GLIB_CHECK_VERSION (2, 63, 3) */ 
    2323 
    2424#if ! GLIB_CHECK_VERSION (2, 32, 0) 
    2525void g_queue_free_full (GQueue * queue, GDestroyNotify free_func);