JNIEXPORT jlongArray JNICALL Java_org_gnome_gtk_GtkRecentChooser_gtk_1recent_1chooser_1list_1filters ( JNIEnv* env, jclass cls, jlong _self ) { GSList* result; jlongArray _result; GtkRecentChooser* self; // convert parameter self self = (GtkRecentChooser*) _self; // call function result = gtk_recent_chooser_list_filters(self); // cleanup parameter self // translate return value to JNI type _result = (jlongArray) bindings_java_convert_gslist_to_jarray(env, result); // cleanup return value if (result != NULL) { g_slist_free(result); } // and finally return _result; }
static VALUE rc_list_filters(VALUE self) { return GSLIST2ARYF(gtk_recent_chooser_list_filters(_SELF(self))); }
static GSList * delegate_list_filters (GtkRecentChooser *chooser) { return gtk_recent_chooser_list_filters (get_delegate (chooser)); }