summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDominique Leuenberger <dimstar@opensuse.org>2015-02-18 09:36:17 +0100
committerDominique Leuenberger <dimstar@opensuse.org>2015-02-18 09:36:17 +0100
commit6834d4d93cbae1782cc192354777f019f9b748ff (patch)
treea291f21d2265e4646078c651f480414f98511911 /lib
parente88e4732bdec3aad8c8d4c914dd411baf9b750a5 (diff)
downloadgnome-maps-6834d4d93cbae1782cc192354777f019f9b748ff.tar.gz
Add NULL sentinels to g_object(get|set) calls
Diffstat (limited to 'lib')
-rw-r--r--lib/maps-contact-store.c8
-rw-r--r--lib/maps-contact.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/maps-contact-store.c b/lib/maps-contact-store.c
index 9045d12b..112ed09b 100644
--- a/lib/maps-contact-store.c
+++ b/lib/maps-contact-store.c
@@ -125,14 +125,14 @@ get_contact (FolksIndividual *individual)
contact = maps_contact_new ();
g_object_set (G_OBJECT (contact), "name",
- folks_individual_get_display_name (individual));
+ folks_individual_get_display_name (individual), NULL);
g_object_set (G_OBJECT (contact), "id",
- folks_individual_get_id (individual));
+ folks_individual_get_id (individual), NULL);
g_object_get (G_OBJECT (individual), "avatar",
- &avatar);
+ &avatar, NULL);
g_object_set (G_OBJECT (contact), "icon",
- avatar);
+ avatar, NULL);
while (gee_iterator_has_next (iter))
{
diff --git a/lib/maps-contact.c b/lib/maps-contact.c
index 06ccf8fb..237c0b88 100644
--- a/lib/maps-contact.c
+++ b/lib/maps-contact.c
@@ -269,9 +269,9 @@ on_geocode_search_async (GeocodeForward *forward,
/* Keep the naming, but add location and osm info */
geocode_place_set_location (data->place, location);
g_object_set (G_OBJECT (data->place), "osm-type",
- geocode_place_get_osm_type (place));
+ geocode_place_get_osm_type (place), NULL);
g_object_set (G_OBJECT (data->place), "osm-id",
- geocode_place_get_osm_id (place));
+ geocode_place_get_osm_id (place), NULL);
/* Update the contact bounding box */
if (contact->priv->bbox == NULL)