Index: work/gtk/layersel/layersel.h =================================================================== --- work/gtk/layersel/layersel.h (revision 8548) +++ work/gtk/layersel/layersel.h (revision 8549) @@ -21,11 +21,12 @@ layersel_layer_t layer[4]; + /* for callbacks */ + pcb_gtk_layersel_t *ls; /* points to parent */ + + /* TODO: temporary hack: will come from the core */ unsigned on:1; /* central visibility (toggles all layers) */ unsigned open:1; /* whether group is expanded, layers are visible */ - - /* for callbacks */ - pcb_gtk_layersel_t *ls; /* points to parent */ };