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; |