finch/gntplugin.c

changeset 26528
3820f77c89fa
parent 22104
56970903b8e9
child 26611
5d52410f6ea8
equal deleted inserted replaced
26527:9f0ae2f42be1 26528:3820f77c89fa
482 while (list && list->next) { 482 while (list && list->next) {
483 const char *label = list->data; 483 const char *label = list->data;
484 char *value = NULL; 484 char *value = NULL;
485 switch(type) { 485 switch(type) {
486 case PURPLE_PREF_BOOLEAN: 486 case PURPLE_PREF_BOOLEAN:
487 value = g_strdup_printf("%d", (int)list->next->data); 487 value = g_strdup_printf("%d", GPOINTER_TO_INT(list->next->data));
488 break; 488 break;
489 case PURPLE_PREF_INT: 489 case PURPLE_PREF_INT:
490 value = g_strdup_printf("%d", (int)list->next->data); 490 value = g_strdup_printf("%d", GPOINTER_TO_INT(list->next->data));
491 break; 491 break;
492 case PURPLE_PREF_STRING: 492 case PURPLE_PREF_STRING:
493 value = g_strdup(list->next->data); 493 value = g_strdup(list->next->data);
494 break; 494 break;
495 default: 495 default:

mercurial