soc.2009.telepathy: e13e3904: Read boxed value from hash table in a mo...

sttwister at gmail.com sttwister at gmail.com
Sat Sep 12 09:36:27 EDT 2009


-----------------------------------------------------------------
Revision: e13e3904cf522e790638c3b59143d81a9eee5b51
Ancestor: 03320da81d5eab8340555963dc37b0178f7be4a0
Author: sttwister at gmail.com
Date: 2009-09-12T12:46:07
Branch: im.pidgin.soc.2009.telepathy
URL: http://d.pidgin.im/viewmtn/revision/info/e13e3904cf522e790638c3b59143d81a9eee5b51

Modified files:
        libpurple/protocols/telepathy/telepathy_account.c

ChangeLog: 

Read boxed value from hash table in a more safely manner

-------------- next part --------------
============================================================
--- libpurple/protocols/telepathy/telepathy_account.c	eaa0ac4146ecd7234a634eda6d9f25a7aa6cce97
+++ libpurple/protocols/telepathy/telepathy_account.c	d5b09b366d300f926837ae326f3065e1c0913acc
@@ -287,7 +287,7 @@ get_account_properties_cb (TpProxy *prox
 
 	purple_debug_info("telepathy", "Got account properties!\n");
 
-	parameters = g_value_get_boxed(g_hash_table_lookup(out_Properties, "Parameters"));
+	parameters = tp_asv_get_boxed(out_Properties, "Parameters", G_TYPE_BOXED);
 
 	if (parameters == NULL)
 	{


More information about the Commits mailing list