[tracker/tintou/gptrarray-vala] libtracker-data: Change GPtrArray into GenericArray
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tintou/gptrarray-vala] libtracker-data: Change GPtrArray into GenericArray
- Date: Fri, 16 Oct 2020 18:29:25 +0000 (UTC)
commit a0c063af282785fbd9d570771ff7c53a526ec6b5
Author: Corentin Noël <corentin elementary io>
Date: Fri Oct 16 20:26:57 2020 +0200
libtracker-data: Change GPtrArray into GenericArray
This is the vala-preferred way of handling GPtrArray
src/libtracker-data/libtracker-data.vapi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-data/libtracker-data.vapi b/src/libtracker-data/libtracker-data.vapi
index 0a2c8afea..6f7cb1dd3 100644
--- a/src/libtracker-data/libtracker-data.vapi
+++ b/src/libtracker-data/libtracker-data.vapi
@@ -173,7 +173,7 @@ namespace Tracker {
public unowned Property[] get_properties ();
}
- public delegate void StatementCallback (int graph_id, string? graph, int subject_id, string subject,
int predicate_id, int object_id, string object, GLib.PtrArray rdf_types);
+ public delegate void StatementCallback (int graph_id, string? graph, int subject_id, string subject,
int predicate_id, int object_id, string object, GLib.GenericArray<unowned Class> rdf_types);
public delegate void CommitCallback ();
[CCode (lower_case_cprefix="tracker_data_", cname = "TrackerData", cheader_filename =
"libtracker-data/tracker-data-query.h,libtracker-data/tracker-data-update.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]