Issue #12271: Fix Gradient Flare build issue
This patch attempts to fix issue #12271 (closed).
gimp_gradients_get_list (NULL) now returns an array of GimpGradients rather than gchars. This patch alters the code a bit to store the output in a GimpGradient array and then get the name property from each gradient using the GObject API.