From d2e5c07029c231cf71046f566a084417747c40b0 Mon Sep 17 00:00:00 2001 From: Alexander Kurtakov Date: Fri, 12 Jul 2013 17:05:58 +0300 Subject: GC remove GTK pre-2.8 code paths. This allows reducing the Cairo bindings and simplifies the codebase. --- .../Eclipse SWT PI/cairo/library/cairo_structs.h | 26 +--------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_structs.h') diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_structs.h b/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_structs.h index 4e8a012cde..96740656a6 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_structs.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_structs.h @@ -15,24 +15,12 @@ * * IBM * - Binding to permit interfacing between Cairo and SWT - * - Copyright (C) 2005, 2012 IBM Corp. All Rights Reserved. + * - Copyright (C) 2005, 2013 IBM Corp. All Rights Reserved. * * ***** END LICENSE BLOCK ***** */ #include "cairo.h" -#ifndef NO_cairo_font_extents_t -void cachecairo_font_extents_tFields(JNIEnv *env, jobject lpObject); -cairo_font_extents_t *getcairo_font_extents_tFields(JNIEnv *env, jobject lpObject, cairo_font_extents_t *lpStruct); -void setcairo_font_extents_tFields(JNIEnv *env, jobject lpObject, cairo_font_extents_t *lpStruct); -#define cairo_font_extents_t_sizeof() sizeof(cairo_font_extents_t) -#else -#define cachecairo_font_extents_tFields(a,b) -#define getcairo_font_extents_tFields(a,b,c) NULL -#define setcairo_font_extents_tFields(a,b,c) -#define cairo_font_extents_t_sizeof() 0 -#endif - #ifndef NO_cairo_path_data_t void cachecairo_path_data_tFields(JNIEnv *env, jobject lpObject); cairo_path_data_t *getcairo_path_data_tFields(JNIEnv *env, jobject lpObject, cairo_path_data_t *lpStruct); @@ -57,15 +45,3 @@ void setcairo_path_tFields(JNIEnv *env, jobject lpObject, cairo_path_t *lpStruct #define cairo_path_t_sizeof() 0 #endif -#ifndef NO_cairo_text_extents_t -void cachecairo_text_extents_tFields(JNIEnv *env, jobject lpObject); -cairo_text_extents_t *getcairo_text_extents_tFields(JNIEnv *env, jobject lpObject, cairo_text_extents_t *lpStruct); -void setcairo_text_extents_tFields(JNIEnv *env, jobject lpObject, cairo_text_extents_t *lpStruct); -#define cairo_text_extents_t_sizeof() sizeof(cairo_text_extents_t) -#else -#define cachecairo_text_extents_tFields(a,b) -#define getcairo_text_extents_tFields(a,b,c) NULL -#define setcairo_text_extents_tFields(a,b,c) -#define cairo_text_extents_t_sizeof() 0 -#endif - -- cgit