コード例 #1
0
ファイル: window.c プロジェクト: risujin/cellwriter
void blocks_sync(void)
{
        UnicodeBlock *block;

        profile_write("blocks");
        block = unicode_blocks;
        while (block->name) {
                profile_sync_short(&block->enabled);
                block++;
        }
        profile_write("\n");
}
コード例 #2
0
ファイル: options.c プロジェクト: AtnNn/him-cellwriter
static void color_sync(GdkColor *color)
{
        profile_sync_short((short*)&color->red);
        profile_sync_short((short*)&color->green);
        profile_sync_short((short*)&color->blue);
}