Skip to content

Commit 4f8a6ac

Browse files
committed
Fix warnings in Examples with the deprecated function
getImageDataAtCurrentZoom();
1 parent fbdacfb commit 4f8a6ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/clipboard/ClipboardExample.java

+1
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ void createFileTransfer(Composite copyParent, Composite pasteParent){
389389
}));
390390
}
391391

392+
@SuppressWarnings("deprecation")
392393
void createImageTransfer(Composite copyParent, Composite pasteParent){
393394
final Image[] copyImage = new Image[] {null};
394395
Label l = new Label(copyParent, SWT.NONE);

0 commit comments

Comments
 (0)