-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace usages of new Image(device, width, height) #2869
Replace usages of new Image(device, width, height) #2869
Conversation
a3e221b
to
8346d3c
Compare
Test Results 1 824 files ±0 1 824 suites ±0 1h 32m 10s ⏱️ - 5m 50s For more details on these failures, see this check. Results for commit 1333a4e. ± Comparison against base commit 0018006. ♻️ This comment has been updated with latest results. |
...eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java
Outdated
Show resolved
Hide resolved
3731646
to
ad25914
Compare
This pull request changes some projects for the first time in this development cycle.
An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patch
Further information are available in Common Build Issues - Missing version increments. |
...eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java
Outdated
Show resolved
Hide resolved
...les/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/FilteredTableBaseHandler.java
Outdated
Show resolved
Hide resolved
GC gc = new GC(image); | ||
gc.setBackground(color1); | ||
gc.fillRectangle(0, 0, 1, fLength); | ||
gc.setForeground(color2); | ||
gc.setBackground(color1); | ||
gc.fillGradientRectangle(0, fMarginHeight + 2, 1, fTheight - 2, true); | ||
|
||
gc.dispose(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you really still need to create the GC
and dispose it right away?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's put a pin on it
Replacing it with imageGcDrawer
Test failure on Mac is unrelated: #294 |
Replacing it with imageGcDrawer