ui/gtk/list.c

changeset 445
5059f2435775
parent 440
7c4b9cba09ca
child 446
535089a269c8
equal deleted inserted replaced
444:0a52c26bba1a 445:5059f2435775
612 } 612 }
613 break; 613 break;
614 } 614 }
615 case UI_INTEGER: { 615 case UI_INTEGER: {
616 g_value_init(&value, G_TYPE_INT); 616 g_value_init(&value, G_TYPE_INT);
617 int *intptr = data; 617 intptr_t intptr = (intptr_t)data;
618 g_value_set_int(&value, *intptr); 618 g_value_set_int(&value, (int)intptr);
619 break; 619 break;
620 } 620 }
621 case UI_ICON: { 621 case UI_ICON: {
622 g_value_init(&value, G_TYPE_OBJECT); 622 g_value_init(&value, G_TYPE_OBJECT);
623 UiIcon *icon = data; 623 UiIcon *icon = data;

mercurial