--- a/libpurple/glibcompat.h Mon Nov 18 01:09:52 2013 +0530 +++ b/libpurple/glibcompat.h Tue Nov 19 13:49:59 2013 +0530 @@ -73,6 +73,15 @@ g_slist_free(list); } +#if !GLIB_CHECK_VERSION(2, 26, 0) + +static inline void g_object_notify_by_pspec(GObject *object, GParamSpec *pspec) +{ + g_object_notify(object, g_param_spec_get_name(pspec)); +} + +#endif /* < 2.26.0 */ + #endif /* < 2.28.0 */ #endif /* < 2.32.0 */