[geocode-glib/wip/hadess/fix-bounded: 1/3] forward: Fix "bounded" data type




commit 2d558fe74cdd57e067967ab08cb47862a64fa784
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]