Changeset 571
- Timestamp:
- 08/27/08 16:27:50 (3 months ago)
- Files:
-
- trunk/src/gtk/TreeView.d (modified) (1 diff)
- trunk/wrap/utils/funct.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/gtk/TreeView.d
r570 r571 1461 1461 { 1462 1462 // gboolean gtk_tree_view_get_path_at_pos (GtkTreeView *tree_view, gint x, gint y, GtkTreePath **path, GtkTreeViewColumn **column, gint *cell_x, gint *cell_y); 1463 GtkTreePath* gtktreepath (path is null) ? null : path.get inoutTreePathStruct();1464 GtkTreeViewColumn* gtktreeviewcolumn (column is null) ? null : column.get inoutTreeViewColumnStruct();1463 GtkTreePath* gtktreepath (path is null) ? null : path.getTreePathStruct(); 1464 GtkTreeViewColumn* gtktreeviewcolumn (column is null) ? null : column.getTreeViewColumnStruct(); 1465 1465 1466 1466 auto p = gtk_tree_view_get_path_at_pos(gtkTreeView, x, y, >ktreepath, >ktreeviewcolumn, &cellX, &cellY); 1467 1467 1468 path = new inoutTreePath(gtktreepath);1469 column = new inoutTreeViewColumn(gtktreeviewcolumn);1468 path = new TreePath(gtktreepath); 1469 column = new TreeViewColumn(gtktreeviewcolumn); 1470 1470 return p; 1471 1471 } trunk/wrap/utils/funct.d
r570 r571 651 651 else 652 652 { 653 bd ~= parmsType[i].removechars("*") ~"* "~ parmsType[i].removechars("*").tolower() ~ " ("~id~" is null) ? null : "~id~ ".get"~ parmsWrap[i] ~"Struct();";653 bd ~= parmsType[i].removechars("*") ~"* "~ parmsType[i].removechars("*").tolower() ~ " ("~id~" is null) ? null : "~id~ ".get"~ split(parmsWrap[i])[1] ~"Struct();"; 654 654 } 655 655 656 656 gtkCall ~= ", &" ~ parmsType[i].removechars("*").tolower(); 657 657 658 end ~= id ~" = new "~ parmsWrap[i] ~"("~ parmsType[i].removechars("*").tolower() ~");";658 end ~= id ~" = new "~ split(parmsWrap[i])[1] ~"("~ parmsType[i].removechars("*").tolower() ~");"; 659 659 } 660 660 else
