| 71 { |
71 { |
| 72 g_slist_foreach(list, (GFunc)free_func, NULL); |
72 g_slist_foreach(list, (GFunc)free_func, NULL); |
| 73 g_slist_free(list); |
73 g_slist_free(list); |
| 74 } |
74 } |
| 75 |
75 |
| |
76 #if !GLIB_CHECK_VERSION(2, 26, 0) |
| |
77 |
| |
78 static inline void g_object_notify_by_pspec(GObject *object, GParamSpec *pspec) |
| |
79 { |
| |
80 g_object_notify(object, g_param_spec_get_name(pspec)); |
| |
81 } |
| |
82 |
| |
83 #endif /* < 2.26.0 */ |
| |
84 |
| 76 #endif /* < 2.28.0 */ |
85 #endif /* < 2.28.0 */ |
| 77 |
86 |
| 78 #endif /* < 2.32.0 */ |
87 #endif /* < 2.32.0 */ |
| 79 |
88 |
| 80 #endif /* _PIDGINGLIBCOMPAT_H_ */ |
89 #endif /* _PIDGINGLIBCOMPAT_H_ */ |