Commit b3b6c4c3 authored by Jürg Billeter's avatar Jürg Billeter Committed by Martyn Russell

Remove glib-2.0-fixes.vapi

This was fixed upstream in Vala 0.12.0.
parent 9be56e30
......@@ -7,7 +7,6 @@ AM_VALAFLAGS = \
--pkg gio-2.0 \
$(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 \
$(top_srcdir)/src/libtracker-sparql/tracker-sparql-$(TRACKER_API_VERSION).vapi \
libtracker-data.vapi
......
......@@ -9,8 +9,7 @@ libtracker_sparql_la_VALAFLAGS = \
--header $(vala_header:.h=-no-checks.h) \
--vapi tracker-sparql.vapi \
--pkg gio-2.0 --pkg gmodule-2.0 --pkg posix \
$(BUILD_VALAFLAGS) \
$(top_srcdir)/src/vapi/glib-2.0-fixes.vapi
$(BUILD_VALAFLAGS)
AM_CPPFLAGS = \
$(BUILD_CFLAGS) \
......
......@@ -570,7 +570,7 @@ public class Tracker.Sparql.Builder : 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 {
......
......@@ -7,7 +7,6 @@ AM_VALAFLAGS = \
--includedir=libtracker-client \
--pkg gio-2.0 --pkg rest-0.6 --pkg posix \
$(BUILD_VALAFLAGS) \
$(top_srcdir)/src/vapi/glib-2.0-fixes.vapi \
$(top_srcdir)/src/libtracker-sparql/tracker-sparql-@TRACKER_API_VERSION@.vapi \
$(top_srcdir)/src/libtracker-miner/tracker-miner.vapi
......
include $(top_srcdir)/Makefile.decl
EXTRA_DIST = \
posix.vapi \
glib-2.0-fixes.vapi
posix.vapi
/*
* Copyright (C) 2010, Nokia
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
namespace GLib {
[CCode (cname = "g_utf8_validate")]
public bool utf8_validate (string str, ssize_t max_len, out char* end);
}
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