Example #1
0
void blocks_sync(void)
{
        UnicodeBlock *block;

        profile_write("blocks");
        block = unicode_blocks;
        while (block->name) {
                profile_sync_short(&block->enabled);
                block++;
        }
        profile_write("\n");
}
Example #2
0
static void color_sync(GdkColor *color)
{
        profile_sync_short((short*)&color->red);
        profile_sync_short((short*)&color->green);
        profile_sync_short((short*)&color->blue);
}