]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkcssimagelinearprivate.h
gdk/gdkwindow.c, gtk/gtkwidget.c: Include fallback-c89.c
[~andy/gtk] / gtk / gtkcssimagelinearprivate.h
index 67191b1e14515b41bdeac1a1dfee949ed679fda8..6988abedb0bc048fb3d1e653942a9189ac6eb1d2 100644 (file)
@@ -12,8 +12,7 @@
  * 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>
  */
@@ -22,6 +21,7 @@
 #define __GTK_CSS_IMAGE_LINEAR_PRIVATE_H__
 
 #include "gtk/gtkcssimageprivate.h"
+#include "gtk/gtkcssvalueprivate.h"
 
 G_BEGIN_DECLS
 
@@ -37,20 +37,17 @@ typedef struct _GtkCssImageLinearClass      GtkCssImageLinearClass;
 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;
 };
 
 struct _GtkCssImageLinearClass