This could be simplified with [g_strcmp0](https://developer.gnome.org/glib/2.28/glib-String-Utility-Functions.html#g-strcmp0):

    if (g_strcmp0(dlna_src->uri, uri) == 0)