* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
* Authors: Benjamin Otte <otte@gnome.org>
*/
#define __GTK_CSS_IMAGE_LINEAR_PRIVATE_H__
#include "gtk/gtkcssimageprivate.h"
+#include "gtk/gtkcssvalueprivate.h"
G_BEGIN_DECLS
typedef struct _GtkCssImageLinearColorStop GtkCssImageLinearColorStop;
struct _GtkCssImageLinearColorStop {
- GtkCssNumber offset;
- union {
- GtkSymbolicColor *symbolic;
- GdkRGBA rgba;
- } color;
+ GtkCssValue *offset;
+ GtkCssValue *color;
};
struct _GtkCssImageLinear
{
GtkCssImage parent;
- GtkCssNumber angle; /* warning: We use GTK_CSS_NUMBER as an enum for the corners */
+ GtkCssValue *angle; /* warning: We use GTK_CSS_NUMBER as an enum for the corners */
GArray *stops;
- guint is_computed :1;
guint repeating :1;
};