Ejemplo n.º 1
0
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;
}
Ejemplo n.º 2
0
static VALUE
rc_list_filters(VALUE self)
{
    return GSLIST2ARYF(gtk_recent_chooser_list_filters(_SELF(self)));
}
Ejemplo n.º 3
0
static GSList *
delegate_list_filters (GtkRecentChooser *chooser)
{
  return gtk_recent_chooser_list_filters (get_delegate (chooser));
}