[cairo-commit] pycairo/cairo cairogtkmodule.c,1.33,1.34
Steve Chaplin
commit at pdx.freedesktop.org
Fri Aug 12 00:23:33 PDT 2005
- Previous message: [cairo-commit] pycairo ChangeLog, 1.167, 1.168 configure.ac, 1.32,
1.33
- Next message: [cairo-commit] cairo-demo/gtk .cvsignore, 1.3, 1.4 ChangeLog, 1.4,
1.5 Makefile, 1.4, 1.5 README, 1.3, 1.4 hello.c, 1.1,
1.2 mouse_events.c, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: stevech1097
Update of /cvs/cairo/pycairo/cairo
In directory gabe:/tmp/cvs-serv30259/cairo
Modified Files:
cairogtkmodule.c
Log Message:
'SC'
Index: cairogtkmodule.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/cairogtkmodule.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- cairogtkmodule.c 10 Aug 2005 15:40:00 -0000 1.33
+++ cairogtkmodule.c 12 Aug 2005 07:23:31 -0000 1.34
@@ -50,12 +50,11 @@
static PyTypeObject *_PyGdkDrawable_Type;
#define PyGdkDrawable_Type (*_PyGdkDrawable_Type)
-#ifndef HAVE_GTK28
/* copied from gtk+/gdk/gdkcairo.c and gtk+/gdk/x11/gdkdrawable-x11.c
* gdk_cairo_create() will be available in gtk 2.8
*/
static cairo_t *
-gdk_cairo_create (GdkDrawable *target)
+_gdk_cairo_create (GdkDrawable *target)
{
int width, height;
int x_off=0, y_off=0;
@@ -98,7 +97,6 @@
cairo_surface_destroy (surface);
return cr;
}
-#endif
/* gdk.cairo_create() will be available in pygtk 2.8 */
static PyObject *
@@ -111,7 +109,7 @@
&PyGdkDrawable_Type, &py_drawable))
return NULL;
- cr = gdk_cairo_create (GDK_DRAWABLE(py_drawable->obj));
+ cr = _gdk_cairo_create (GDK_DRAWABLE(py_drawable->obj));
return PycairoContext_FromContext (cr, NULL, (PyObject *)py_drawable);
}
- Previous message: [cairo-commit] pycairo ChangeLog, 1.167, 1.168 configure.ac, 1.32,
1.33
- Next message: [cairo-commit] cairo-demo/gtk .cvsignore, 1.3, 1.4 ChangeLog, 1.4,
1.5 Makefile, 1.4, 1.5 README, 1.3, 1.4 hello.c, 1.1,
1.2 mouse_events.c, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list