Instead of open-coding G_N_ELEMENTS(), just use it.
table = gtk_table_new (G_N_ELEMENTS (operators) / 6, 6, TRUE);
src_img = pixman_image_create_linear_gradient (&p1, &p2, stops,
table = gtk_table_new (G_N_ELEMENTS (operators) / 6, 6, TRUE);
src_img = pixman_image_create_linear_gradient (&p1, &p2, stops,
- sizeof (stops) / sizeof (stops[0]));
pixman_image_set_repeat (src_img, PIXMAN_REPEAT_PAD);
pixman_image_set_repeat (src_img, PIXMAN_REPEAT_PAD);