[tracker/wip/sam/resource] squash! libtracker-sparql: Add TrackerResource class



commit f99718c92ca075cea2d170129196e5591c827111
Author: Sam Thursfield <ssssam gmail com>
Date:   Sat Jun 25 13:18:32 2016 +0100

    squash! libtracker-sparql: Add TrackerResource class
    
    Fix tracker_resource_add_boolean(): it was defined using the wrong
    macro, so would have been identical to tracker_resource_set_boolean().

 src/libtracker-sparql/tracker-resource.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-resource.c b/src/libtracker-sparql/tracker-resource.c
index 4cb6281..fd509e2 100644
--- a/src/libtracker-sparql/tracker-resource.c
+++ b/src/libtracker-sparql/tracker-resource.c
@@ -384,7 +384,7 @@ tracker_resource_add_gvalue (TrackerResource *self,
                }                                                                \
        };
 
-SET_PROPERTY_FOR_GTYPE (tracker_resource_add_boolean, gboolean, G_TYPE_BOOLEAN, g_value_set_boolean);
+ADD_PROPERTY_FOR_GTYPE (tracker_resource_add_boolean, gboolean, G_TYPE_BOOLEAN, g_value_set_boolean);
 ADD_PROPERTY_FOR_GTYPE (tracker_resource_add_double, double, G_TYPE_DOUBLE, g_value_set_double);
 ADD_PROPERTY_FOR_GTYPE (tracker_resource_add_int, int, G_TYPE_INT, g_value_set_int);
 ADD_PROPERTY_FOR_GTYPE (tracker_resource_add_int64, gint64, G_TYPE_INT64, g_value_set_int64);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]