Mercurial > hg > xemacs-beta
comparison src/frame-x.c @ 76:c0c698873ce1 r20-0b33
Import from CVS: tag r20-0b33
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:05:10 +0200 |
parents | 131b0175ea99 |
children | a145efe76779 |
comparison
equal
deleted
inserted
replaced
75:a4e0195b387b | 76:c0c698873ce1 |
---|---|
1120 { | 1120 { |
1121 for (ii = 0; ii < transferInfo->dropData->numItems; ii++) | 1121 for (ii = 0; ii < transferInfo->dropData->numItems; ii++) |
1122 { | 1122 { |
1123 filePath = transferInfo->dropData->data.files[ii]; | 1123 filePath = transferInfo->dropData->data.files[ii]; |
1124 /* ### Mule-izing required */ | 1124 /* ### Mule-izing required */ |
1125 path = make_string (filePath, strlen (filePath)); | 1125 path = make_string ((Bufbyte *)filePath, strlen (filePath)); |
1126 va_run_hook_with_args (Qdrag_and_drop_functions, 2, frame, path); | 1126 va_run_hook_with_args (Qdrag_and_drop_functions, 2, frame, path); |
1127 } | 1127 } |
1128 } | 1128 } |
1129 else if (transferInfo->dropData->protocol == DtDND_BUFFER_TRANSFER) | 1129 else if (transferInfo->dropData->protocol == DtDND_BUFFER_TRANSFER) |
1130 { | 1130 { |
1135 for (ii = 0; ii < transferInfo->dropData->numItems; ii++) | 1135 for (ii = 0; ii < transferInfo->dropData->numItems; ii++) |
1136 { | 1136 { |
1137 filePath = transferInfo->dropData->data.buffers[ii].name; | 1137 filePath = transferInfo->dropData->data.buffers[ii].name; |
1138 /* ### Mule-izing required */ | 1138 /* ### Mule-izing required */ |
1139 path = (filePath == NULL) ? Qnil | 1139 path = (filePath == NULL) ? Qnil |
1140 : make_string (filePath, strlen (filePath)); | 1140 : make_string ((Bufbyte *)filePath, strlen (filePath)); |
1141 buf = transferInfo->dropData->data.buffers[ii].bp; | 1141 buf = transferInfo->dropData->data.buffers[ii].bp; |
1142 data = make_string(buf, | 1142 data = make_string((Bufbyte *)buf, |
1143 transferInfo->dropData->data.buffers[ii].size); | 1143 transferInfo->dropData->data.buffers[ii].size); |
1144 va_run_hook_with_args(Qdrag_and_drop_functions, 3, frame, path, | 1144 va_run_hook_with_args(Qdrag_and_drop_functions, 3, frame, path, |
1145 data); | 1145 data); |
1146 } | 1146 } |
1147 drag_not_done = 0; | 1147 drag_not_done = 0; |