diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library')
3 files changed, 3 insertions, 55 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome.c b/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome.c index df76c02dc7..84a7788862 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome.c +++ b/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome.c @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2012 IBM Corporation and others. All rights reserved. + * Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved. * The contents of this file are made available under the terms * of the GNU Lesser General Public License (LGPL) Version 2.1 that * accompanies this distribution (lgpl-v21.txt). The LGPL is also @@ -101,18 +101,6 @@ JNIEXPORT jintLong JNICALL GNOME_NATIVE(_1gnome_1vfs_1get_1mime_1type) } #endif -#ifndef NO__1gnome_1vfs_1get_1registered_1mime_1types -JNIEXPORT jintLong JNICALL GNOME_NATIVE(_1gnome_1vfs_1get_1registered_1mime_1types) - (JNIEnv *env, jclass that) -{ - jintLong rc = 0; - GNOME_NATIVE_ENTER(env, that, _1gnome_1vfs_1get_1registered_1mime_1types_FUNC); - rc = (jintLong)gnome_vfs_get_registered_mime_types(); - GNOME_NATIVE_EXIT(env, that, _1gnome_1vfs_1get_1registered_1mime_1types_FUNC); - return rc; -} -#endif - #ifndef NO__1gnome_1vfs_1init JNIEXPORT jboolean JNICALL GNOME_NATIVE(_1gnome_1vfs_1init) (JNIEnv *env, jclass that) @@ -211,16 +199,6 @@ JNIEXPORT jint JNICALL GNOME_NATIVE(_1gnome_1vfs_1mime_1application_1launch) } #endif -#ifndef NO__1gnome_1vfs_1mime_1extensions_1list_1free -JNIEXPORT void JNICALL GNOME_NATIVE(_1gnome_1vfs_1mime_1extensions_1list_1free) - (JNIEnv *env, jclass that, jintLong arg0) -{ - GNOME_NATIVE_ENTER(env, that, _1gnome_1vfs_1mime_1extensions_1list_1free_FUNC); - gnome_vfs_mime_extensions_list_free((GList *)arg0); - GNOME_NATIVE_EXIT(env, that, _1gnome_1vfs_1mime_1extensions_1list_1free_FUNC); -} -#endif - #ifndef NO__1gnome_1vfs_1mime_1get_1default_1application JNIEXPORT jintLong JNICALL GNOME_NATIVE(_1gnome_1vfs_1mime_1get_1default_1application) (JNIEnv *env, jclass that, jbyteArray arg0) @@ -237,28 +215,6 @@ fail: } #endif -#ifndef NO__1gnome_1vfs_1mime_1get_1extensions_1list -JNIEXPORT jintLong JNICALL GNOME_NATIVE(_1gnome_1vfs_1mime_1get_1extensions_1list) - (JNIEnv *env, jclass that, jintLong arg0) -{ - jintLong rc = 0; - GNOME_NATIVE_ENTER(env, that, _1gnome_1vfs_1mime_1get_1extensions_1list_FUNC); - rc = (jintLong)gnome_vfs_mime_get_extensions_list((const char *)arg0); - GNOME_NATIVE_EXIT(env, that, _1gnome_1vfs_1mime_1get_1extensions_1list_FUNC); - return rc; -} -#endif - -#ifndef NO__1gnome_1vfs_1mime_1registered_1mime_1type_1list_1free -JNIEXPORT void JNICALL GNOME_NATIVE(_1gnome_1vfs_1mime_1registered_1mime_1type_1list_1free) - (JNIEnv *env, jclass that, jintLong arg0) -{ - GNOME_NATIVE_ENTER(env, that, _1gnome_1vfs_1mime_1registered_1mime_1type_1list_1free_FUNC); - gnome_vfs_mime_registered_mime_type_list_free((GList *)arg0); - GNOME_NATIVE_EXIT(env, that, _1gnome_1vfs_1mime_1registered_1mime_1type_1list_1free_FUNC); -} -#endif - #ifndef NO__1gnome_1vfs_1mime_1type_1from_1name JNIEXPORT jintLong JNICALL GNOME_NATIVE(_1gnome_1vfs_1mime_1type_1from_1name) (JNIEnv *env, jclass that, jbyteArray arg0) diff --git a/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.c b/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.c index cef7ac33a9..857e003334 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.c +++ b/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.c @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2012 IBM Corporation and others. All rights reserved. + * Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved. * The contents of this file are made available under the terms * of the GNU Lesser General Public License (LGPL) Version 2.1 that * accompanies this distribution (lgpl-v21.txt). The LGPL is also @@ -24,17 +24,13 @@ char * GNOME_nativeFunctionNames[] = { "_1gnome_1icon_1theme_1lookup_1icon", "_1gnome_1icon_1theme_1new", "_1gnome_1vfs_1get_1mime_1type", - "_1gnome_1vfs_1get_1registered_1mime_1types", "_1gnome_1vfs_1init", "_1gnome_1vfs_1is_1executable_1command_1string", "_1gnome_1vfs_1make_1uri_1from_1input", "_1gnome_1vfs_1make_1uri_1from_1input_1with_1dirs", "_1gnome_1vfs_1mime_1application_1free", "_1gnome_1vfs_1mime_1application_1launch", - "_1gnome_1vfs_1mime_1extensions_1list_1free", "_1gnome_1vfs_1mime_1get_1default_1application", - "_1gnome_1vfs_1mime_1get_1extensions_1list", - "_1gnome_1vfs_1mime_1registered_1mime_1type_1list_1free", "_1gnome_1vfs_1mime_1type_1from_1name", "_1gnome_1vfs_1mime_1type_1get_1equivalence", "_1gnome_1vfs_1url_1show", diff --git a/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.h b/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.h index 9de0b5bfb4..4004fae457 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.h +++ b/bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome_stats.h @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2012 IBM Corporation and others. All rights reserved. + * Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved. * The contents of this file are made available under the terms * of the GNU Lesser General Public License (LGPL) Version 2.1 that * accompanies this distribution (lgpl-v21.txt). The LGPL is also @@ -34,17 +34,13 @@ typedef enum { _1gnome_1icon_1theme_1lookup_1icon_FUNC, _1gnome_1icon_1theme_1new_FUNC, _1gnome_1vfs_1get_1mime_1type_FUNC, - _1gnome_1vfs_1get_1registered_1mime_1types_FUNC, _1gnome_1vfs_1init_FUNC, _1gnome_1vfs_1is_1executable_1command_1string_FUNC, _1gnome_1vfs_1make_1uri_1from_1input_FUNC, _1gnome_1vfs_1make_1uri_1from_1input_1with_1dirs_FUNC, _1gnome_1vfs_1mime_1application_1free_FUNC, _1gnome_1vfs_1mime_1application_1launch_FUNC, - _1gnome_1vfs_1mime_1extensions_1list_1free_FUNC, _1gnome_1vfs_1mime_1get_1default_1application_FUNC, - _1gnome_1vfs_1mime_1get_1extensions_1list_FUNC, - _1gnome_1vfs_1mime_1registered_1mime_1type_1list_1free_FUNC, _1gnome_1vfs_1mime_1type_1from_1name_FUNC, _1gnome_1vfs_1mime_1type_1get_1equivalence_FUNC, _1gnome_1vfs_1url_1show_FUNC, |