comparison finch/gntplugin.c @ 27936:1688f7e15530

propagate from branch 'im.pidgin.pidgin' (head f71e0a5c7eff9c53c7641ad6c6b135a3dfec040f) to branch 'im.pidgin.pidgin.yaz' (head 06f54c4daa5abaa96e6a740e3aa88a8bc377bff5)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 31 Mar 2009 11:18:23 +0000
parents b23211876f47
children f5f08111da52
comparison
equal deleted inserted replaced
27935:f33f4ddbf01a 27936:1688f7e15530
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: