aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-06-22 21:24:03 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-06-22 21:24:03 +0800
commit0f915c44a5e5a2fd91c5b5b26f5a8e5a78ee7ed3 (patch)
treea4c5ab1c9638309a4b7af2ab428969d15332493d /libempathy-gtk
parent24f46af7642e8e2d0b7fa737d0fbb64ff394b437 (diff)
downloadgsoc2013-empathy-0f915c44a5e5a2fd91c5b5b26f5a8e5a78ee7ed3.tar
gsoc2013-empathy-0f915c44a5e5a2fd91c5b5b26f5a8e5a78ee7ed3.tar.gz
gsoc2013-empathy-0f915c44a5e5a2fd91c5b5b26f5a8e5a78ee7ed3.tar.bz2
gsoc2013-empathy-0f915c44a5e5a2fd91c5b5b26f5a8e5a78ee7ed3.tar.lz
gsoc2013-empathy-0f915c44a5e5a2fd91c5b5b26f5a8e5a78ee7ed3.tar.xz
gsoc2013-empathy-0f915c44a5e5a2fd91c5b5b26f5a8e5a78ee7ed3.tar.zst
gsoc2013-empathy-0f915c44a5e5a2fd91c5b5b26f5a8e5a78ee7ed3.zip
Fix typos in plist parser
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-plist.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-plist.c b/libempathy-gtk/empathy-plist.c
index d7e18448c..e5577afaf 100644
--- a/libempathy-gtk/empathy-plist.c
+++ b/libempathy-gtk/empathy-plist.c
@@ -68,7 +68,7 @@ empathy_plist_parse_real (xmlNode *a_node)
{
char *str_val;
char *end_ptr;
- gfloat double_val;
+ gdouble double_val;
str_val = (char *) xmlNodeGetContent (a_node);
double_val = g_ascii_strtod (str_val, &end_ptr);
@@ -78,7 +78,8 @@ empathy_plist_parse_real (xmlNode *a_node)
}
xmlFree (str_val);
- return tp_g_value_slice_new_double (double_val);}
+ return tp_g_value_slice_new_double (double_val);
+}
static GValue *
empathy_plist_parse_boolean (xmlNode *a_node)
@@ -93,7 +94,7 @@ empathy_plist_parse_boolean (xmlNode *a_node)
return NULL;
}
- return tp_g_value_slice_new_int (bool_val);
+ return tp_g_value_slice_new_boolean (bool_val);
}
static GValue *