[Commit] cairo-gtk-engine/src cge-draw.c,1.11,1.12

Carl Worth commit at keithp.com
Thu Sep 4 09:16:29 PDT 2003


Committed by: cworth

Update of /local/src/CVS/cairo-gtk-engine/src
In directory home.keithp.com:/tmp/cvs-serv19079/src

Modified Files:
	cge-draw.c 
Log Message:
Track changes in Cairo 0.1.1

Index: cge-draw.c
===================================================================
RCS file: /local/src/CVS/cairo-gtk-engine/src/cge-draw.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cge-draw.c	5 Aug 2003 13:28:44 -0000	1.11
+++ cge-draw.c	4 Sep 2003 15:16:26 -0000	1.12
@@ -15,6 +15,7 @@
 			     double x1, double y1, 
 			     double x2, double y2, 
 			     gboolean line_width); 
+static cge_style *cge_get_style(GtkStyle *style,const gchar *detail);
 
 static cairo_surface_t *cge_create_gradient(cairo_t *xrs,
 					    gint ncols,
@@ -311,8 +312,7 @@
 
 static GtkStyleClass *parent_class = NULL;
 
-
-cge_style *cge_get_style(GtkStyle *style,const gchar *detail)
+static cge_style *cge_get_style(GtkStyle *style,const gchar *detail)
 {
   gint i;
 
@@ -444,7 +444,7 @@
   cairo_matrix_t *matrix;
   gint i;
 
-  sur=cairo_surface_create_similar(cairo_get_target_surface(xrs),
+  sur=cairo_surface_create_similar(cairo_current_target_surface(xrs),
 				   CAIRO_FORMAT_ARGB32,
 				   ncols,ncols);
 
@@ -1882,7 +1882,6 @@
   cairo_t *xrs;
   cairo_surface_t *gradient;
   GdkColor color;
-  GdkColor gradient_colors[2];
   gint x_off,y_off;
   cge_style *cstyle;
 
@@ -2068,12 +2067,10 @@
 
 }
 
-
 static void set_background (GtkStyle      *style,
 			    GdkWindow     *window,
 			    GtkStateType   state_type)
 {
-  GdkDrawable *real_drawable;
   gint x,y,w,h,d;
   gint x_off=0,y_off=0;
   cairo_t *xrs;




More information about the Commit mailing list