[cairo-commit] gtkcairo/gtkcairo gtkcairo.c,1.4,1.5 gtkcairo.h,1.3,1.4
OEyvind Kolaas
commit at pdx.freedesktop.org
Mon Aug 15 11:12:59 PDT 2005
Committed by: pippin
Update of /cvs/cairo/gtkcairo/gtkcairo
In directory pdx:/tmp/cvs-serv9654
Modified Files:
gtkcairo.c gtkcairo.h
Log Message:
Changes needed to be able to derive new widgets from gtkcairo
Index: gtkcairo.c
===================================================================
RCS file: /cvs/cairo/gtkcairo/gtkcairo/gtkcairo.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** gtkcairo.c 12 Feb 2004 17:55:22 -0000 1.4
--- gtkcairo.c 14 Feb 2004 17:04:58 -0000 1.5
***************
*** 42,58 ****
};
- struct _GtkCairo
- {
- GtkWidget widget;
-
- cairo_t *cairo;
- };
-
- struct _GtkCairoClass
- {
- GtkWidgetClass parent_class;
- void (*redraw)(GtkCairo *, cairo_t *c);
- };
-
static void gtk_cairo_class_init (GtkCairoClass *klass);
static void gtk_cairo_init (GtkCairo *gtkcairo);
--- 42,45 ----
Index: gtkcairo.h
===================================================================
RCS file: /cvs/cairo/gtkcairo/gtkcairo/gtkcairo.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** gtkcairo.h 25 Nov 2003 04:34:20 -0000 1.3
--- gtkcairo.h 14 Feb 2004 17:04:58 -0000 1.4
***************
*** 48,51 ****
--- 48,63 ----
typedef struct _GtkCairoClass GtkCairoClass;
+ struct _GtkCairo
+ {
+ GtkWidget widget;
+ cairo_t *cairo;
+ };
+
+ struct _GtkCairoClass
+ {
+ GtkWidgetClass parent_class;
+ void (*redraw)(GtkCairo *, cairo_t *c);
+ };
+
GType gtk_cairo_get_type (void);
GtkWidget* gtk_cairo_new (void);
***************
*** 53,56 ****
--- 65,69 ----
cairo_t* gtk_cairo_get_cairo (GtkCairo *gtkcairo);
+
#ifdef __cplusplus
}
More information about the cairo-commit
mailing list