Skip to content

Commit df2c1cc

Browse files
iloveeclipseMichael5601
authored andcommitted
Renamed search_enabled to searchEnabled to be consistent
Follow up on eclipse-platform#1829 review. Renamed the `search_enabled` method to have same name / visibility as on Tree/Table classes.
1 parent c6a5ccf commit df2c1cc

File tree

1 file changed

+2
-2
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ void createHandle (int index) {
248248
GTK3.gtk_scrolled_window_set_shadow_type (scrolledHandle, GTK.GTK_SHADOW_ETCHED_IN);
249249
}
250250
}
251-
if (!search_enabled()) {
251+
if (!searchEnabled()) {
252252
GTK.gtk_tree_view_set_search_column(handle, -1);
253253
}
254254
// In GTK 3 font description is inherited from parent widget which is not how SWT has always worked,
@@ -1292,7 +1292,7 @@ public void removeSelectionListener(SelectionListener listener) {
12921292
eventTable.unhook (SWT.DefaultSelection,listener);
12931293
}
12941294

1295-
private boolean search_enabled() {
1295+
boolean searchEnabled() {
12961296
/* Disable searching when using NO_SEARCH */
12971297
if ((style & SWT.NO_SEARCH) != 0
12981298
/*

0 commit comments

Comments
 (0)