diff --git a/tests/blur-performance.c b/tests/blur-performance.c index c69a131f77..029949da99 100644 --- a/tests/blur-performance.c +++ b/tests/blur-performance.c @@ -2,6 +2,11 @@ #include +/* This is a hack to work around the fact that this code includes + * private headers that inline access to non-exported variables. + */ +GdkColorState *gdk_default_color_states; + static void init_surface (cairo_t *cr) { @@ -26,6 +31,8 @@ main (int argc, char **argv) int i, j; int size; + gdk_default_color_states = gdk_color_state_get_srgb (); + timer = g_timer_new (); size = 2000;