[cairo-commit] cairo-java/src/jni org_freedesktop_cairo_Surface.c,
1.9, 1.10
Jeffrey Morgan
commit at pdx.freedesktop.org
Sun Jul 17 13:50:48 PDT 2005
- Previous message: [cairo-commit] cairo-java ChangeLog, 1.66, 1.67 Makefile.am, 1.15,
1.16 .cvsignore, 1.3, 1.4
- Next message: [cairo-commit] cairo-java/src/java/org/freedesktop/cairo
Status.java, 1.7, 1.8 Surface.java, 1.12, 1.13 Content.java,
NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: kuzman
Update of /cvs/cairo/cairo-java/src/jni
In directory gabe:/tmp/cvs-serv9525/src/jni
Modified Files:
org_freedesktop_cairo_Surface.c
Log Message:
updates to match upstream changes
Index: org_freedesktop_cairo_Surface.c
===================================================================
RCS file: /cvs/cairo/cairo-java/src/jni/org_freedesktop_cairo_Surface.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- org_freedesktop_cairo_Surface.c 10 May 2005 01:28:15 -0000 1.9
+++ org_freedesktop_cairo_Surface.c 17 Jul 2005 20:50:46 -0000 1.10
@@ -25,14 +25,14 @@
* Signature: (Lorg/gnu/glib/Handle;III)Lorg/gnu/glib/Handle;
*/
JNIEXPORT jobject JNICALL Java_org_freedesktop_cairo_Surface_cairo_1surface_1create_1similar
- (JNIEnv *env, jclass cls, jobject other, jint format, jint width, jint height)
+ (JNIEnv *env, jclass cls, jobject other, jint content, jint width, jint height)
{
cairo_surface_t *other_g;
cairo_surface_t *surface;
other_g = (cairo_surface_t*)getPointerFromHandle(env, other);
- surface = cairo_surface_create_similar(other_g, (cairo_format_t)format,
+ surface = cairo_surface_create_similar(other_g, (cairo_content_t)content,
width, height);
if (surface)
cairo_surface_reference(surface);
- Previous message: [cairo-commit] cairo-java ChangeLog, 1.66, 1.67 Makefile.am, 1.15,
1.16 .cvsignore, 1.3, 1.4
- Next message: [cairo-commit] cairo-java/src/java/org/freedesktop/cairo
Status.java, 1.7, 1.8 Surface.java, 1.12, 1.13 Content.java,
NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list