diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome.c')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library/gnome.c | 46 |
1 files changed, 1 insertions, 45 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) |