aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-import-pidgin.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/empathy-import-pidgin.c b/src/empathy-import-pidgin.c
index 23b1d84f5..877eb26b6 100644
--- a/src/empathy-import-pidgin.c
+++ b/src/empathy-import-pidgin.c
@@ -140,8 +140,11 @@ import_dialog_pidgin_parse_setting (EmpathyImportAccountData *data,
else if (!tp_strdiff (type, "int"))
{
i = (gint) g_ascii_strtod (content, NULL);
- value = tp_g_value_slice_new (G_TYPE_INT);
- g_value_set_int (value, i);
+ /* FIXME: Pidgin uses signed int values whereas Telepathy usually
+ * uses unsigned int values.
+ */
+ value = tp_g_value_slice_new (G_TYPE_UINT);
+ g_value_set_uint (value, (guint) i);
}
else if (!tp_strdiff (type, "string"))
{