Skip to content

Commit

Permalink
remove GTextLayoutCacheRef stuffs for compiling SDK v3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
andrwj committed Nov 4, 2015
1 parent fdf5cab commit e73e810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pager_layer.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ struct PagerLayer {
Layer *layer;
uint8_t index;
uint8_t count;
GTextLayoutCacheRef cache;
/*interval use only: GTextLayoutCacheRef cache; */
};

static const GSize outer_size = { 7, 7 }; // TODO: Fix magic numbers
Expand Down Expand Up @@ -66,7 +66,7 @@ static void background_update_proc(Layer *layer, GContext* ctx) {
bounds,
GTextOverflowModeFill,
GTextAlignmentCenter,
pager_layer->cache
NULL //pager_layer->cache (always NULL for third-party apps)
);
} else {
GRect rect = GRect(0, 0, outer_size.w * count + padding * (count - 1), outer_size.h);
Expand Down

0 comments on commit e73e810

Please sign in to comment.