Skip to content

Commit 8b10d1c

Browse files
committed
Make Widget:filters public
The method Widget:filters is made public in this commit as it is used by many children classes implementing it and having it package protected prevents the children outside the package to use it.
1 parent 642b5df commit 8b10d1c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ NSRect expansionFrameWithFrame_inView(long id, long sel, NSRect cellRect, long v
870870
return result;
871871
}
872872

873-
boolean filters (int eventType) {
873+
public boolean filters (int eventType) {
874874
return display.filters (eventType);
875875
}
876876

bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ long filterProc(long xEvent, long gdkEvent, long data2) {
11941194
return 0;
11951195
}
11961196

1197-
boolean filters (int eventType) {
1197+
public boolean filters (int eventType) {
11981198
return display.filters (eventType);
11991199
}
12001200

bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ void error (int code) {
510510
SWT.error(code);
511511
}
512512

513-
boolean filters (int eventType) {
513+
public boolean filters (int eventType) {
514514
return display.filters (eventType);
515515
}
516516

0 commit comments

Comments
 (0)