static gboolean view_column_model_drag_data_get (GtkTreeDragSource *drag_source, GtkTreePath *path, GtkSelectionData *selection_data) { if (gtk_tree_set_row_drag_data (selection_data, GTK_TREE_MODEL (drag_source), path)) return TRUE; else return FALSE; }
JNIEXPORT jboolean JNICALL Java_org_gnome_gtk_GtkSelectionData_gtk_1tree_1set_1row_1drag_1data ( JNIEnv* env, jclass cls, jlong _self, jlong _treeModel, jlong _path ) { gboolean result; jboolean _result; GtkSelectionData* self; GtkTreeModel* treeModel; GtkTreePath* path; // convert parameter self self = (GtkSelectionData*) _self; // convert parameter treeModel treeModel = (GtkTreeModel*) _treeModel; // convert parameter path path = (GtkTreePath*) _path; // call function result = gtk_tree_set_row_drag_data(self, treeModel, path); // cleanup parameter self // cleanup parameter treeModel // cleanup parameter path // translate return value to JNI type _result = (jboolean) result; // and finally return _result; }