libpurple/glibcompat.h

branch
soc.2013.gobjectification
changeset 35073
46b7a39e45ec
parent 34462
d51759c13fde
child 35081
eda7bae766d4
equal deleted inserted replaced
35072:cb3673616d90 35073:46b7a39e45ec
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_ */

mercurial