Commit c431c4f4 authored by Martyn Russell's avatar Martyn Russell

libtracker-client: Fix for upstream patch to replace posix.vapi

This is only in 0.10 which is why this is needed
parent b00b0ade
......@@ -4,9 +4,8 @@ AM_VALAFLAGS = \
--includedir=libtracker-client \
--header tracker-sparql-builder.h \
--pkg gio-2.0 \
--pkg posix \
$(BUILD_VALAFLAGS) \
$(top_srcdir)/src/vapi/posix.vapi \
$(top_srcdir)/src/vapi/glib-2.0-fixes.vapi \
$(top_srcdir)/src/libtracker-common/libtracker-common.vapi
AM_CPPFLAGS = \
......
......@@ -240,7 +240,7 @@ public class Tracker.SparqlBuilder : Object {
public void object_unvalidated (string value) {
char* end;
if (!utf8_validate (value, -1, out end)) {
if (!value.validate (-1, out end)) {
if (value != end) {
object_string (value.substring (0, (long) (end - (char*) value)));
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment