summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_structs.h
diff options
context:
space:
mode:
authorAlexander Kurtakov <akurtako@redhat.com>2013-07-12 17:05:58 +0300
committerAlexander Kurtakov <akurtako@redhat.com>2013-07-12 17:05:58 +0300
commitd2e5c07029c231cf71046f566a084417747c40b0 (patch)
treeda775e917d34f7e81456b6b5354ab83f9bb7e921 /bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_structs.h
parente6aa5ace75b7d76f999c03a1263487de3b558d2d (diff)
downloadeclipse.platform.swt-d2e5c07029c231cf71046f566a084417747c40b0.tar.gz
eclipse.platform.swt-d2e5c07029c231cf71046f566a084417747c40b0.tar.xz
eclipse.platform.swt-d2e5c07029c231cf71046f566a084417747c40b0.zip
GC remove GTK pre-2.8 code paths.
This allows reducing the Cairo bindings and simplifies the codebase.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_structs.h')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_structs.h26
1 files changed, 1 insertions, 25 deletions
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
-