Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 185793 Details for
Bug 294929
[Widgets] Line numbers do not update when Eclipse is on a secondary monitor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch that recreates the image
PR294929 .patch (text/plain), 911 bytes, created by
Silenio Quarti
on 2010-12-23 16:21:03 EST
(
hide
)
Description:
patch that recreates the image
Filename:
MIME Type:
Creator:
Silenio Quarti
Created:
2010-12-23 16:21:03 EST
Size:
911 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.swt >Index: Eclipse SWT/carbon/org/eclipse/swt/graphics/Image.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Image.java,v >retrieving revision 1.75 >diff -u -r1.75 Image.java >--- Eclipse SWT/carbon/org/eclipse/swt/graphics/Image.java 26 May 2010 17:58:53 -0000 1.75 >+++ Eclipse SWT/carbon/org/eclipse/swt/graphics/Image.java 23 Dec 2010 21:20:15 -0000 >@@ -891,6 +891,13 @@ > if (type != SWT.BITMAP || memGC != null) { > SWT.error(SWT.ERROR_INVALID_ARGUMENT); > } >+ if (OS.VERSION >= 0x1060) { >+ int copy = OS.CGImageCreateCopy(handle); >+ if (copy != 0) { >+ OS.CGImageRelease(handle); >+ handle = copy; >+ } >+ } > int width = OS.CGImageGetWidth(handle); > int height = OS.CGImageGetHeight(handle); > int bpc = OS.CGImageGetBitsPerComponent(handle);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 294929
:
166057
| 185793