Fixes: bgo#644165 - An individual's avatar shouldn't be replaced by a null
avatar
* Bug 643955 — Add to_string () to RoleOwner class
* Bug 643957 — Deal handle birthday and postal-addresses.
* Bug 644457 — Handle structured names
+* Bug 644165 — An individual's avatar shouldn't be replaced by a null avatar
API changes:
* Add RoleDetails interface
--vapidir=$(top_srcdir)/folks \
--pkg=readline \
--pkg=gobject-2.0 \
+ --pkg=gio-2.0 \
--pkg=gee-1.0 \
--pkg=folks \
$(NULL)
$(NULL)
folks_inspect_LDADD = \
$(LIBREADLINE) \
+ $(GIO_LIBS) \
$(GLIB_LIBS) \
$(GEE_LIBS) \
$(top_builddir)/folks/libfolks.la \
$(NULL)
folks_inspect_CFLAGS = \
-I$(top_srcdir)/folks \
+ $(GIO_CFLAGS) \
$(GLIB_CFLAGS) \
$(GEE_CFLAGS) \
$(NULL)
}
else if (prop_name == "avatar")
{
- return "%p".printf (prop_value.get_object ());
+ string ret = null;
+ File avatar = (File) prop_value.get_object ();
+ if (avatar != null)
+ ret = avatar.get_uri ();
+ return ret;
}
else if (prop_name == "im-addresses")
{