[geocode-glib/wip/hadess/fix-bounded: 8/10] forward: Fix "bounded" data type
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib/wip/hadess/fix-bounded: 8/10] forward: Fix "bounded" data type
- Date: Thu, 30 Jun 2022 11:00:06 +0000 (UTC)
commit 0e304c20c1de22931d54708e9ca1ea4cc6569d81
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jun 30 12:14:11 2022 +0200
forward: Fix "bounded" data type
Closes: #25
geocode-glib/geocode-forward.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/geocode-glib/geocode-forward.c b/geocode-glib/geocode-forward.c
index e690c30..fd7158e 100644
--- a/geocode-glib/geocode-forward.c
+++ b/geocode-glib/geocode-forward.c
@@ -509,7 +509,7 @@ geocode_forward_set_bounded (GeocodeForward *forward,
/* Note: This key name is not defined in the Telepathy specification or
* in XEP-0080; it is custom, but standard within Geocode. */
bounded_value = g_new0 (GValue, 1);
- g_value_init (bounded_value, G_TYPE_STRING);
+ g_value_init (bounded_value, G_TYPE_BOOLEAN);
g_value_set_boolean (bounded_value, bounded);
g_hash_table_insert (priv->ht, g_strdup ("bounded"),
bounded_value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]