summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-20 21:37:44 -0400
committerPietro Gagliardi <[email protected]>2014-08-20 21:37:44 -0400
commit6a0d1166d98c8f379fca1cb1a039959994ff9f96 (patch)
tree8f2b15069f8c388e373728cddc83116d1eaedc60
parent0cb7a6bdf2d2cf6c816089b1a49f9dc926dda594 (diff)
Changed tableOnSelection() to tableSelectionChanged() in the Windows files for parity with the GTK+ and (next commit) Mac OS X files.
-rw-r--r--redo/table_windows.c2
-rw-r--r--redo/table_windows.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/redo/table_windows.c b/redo/table_windows.c
index 4c646c6..e3d157f 100644
--- a/redo/table_windows.c
+++ b/redo/table_windows.c
@@ -43,7 +43,7 @@ static LRESULT CALLBACK tableSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
// if both old and new states have the same value for the selected bit, then the selection state did not change, regardless of selected or deselected
if ((nlv->uOldState & LVIS_SELECTED) == (nlv->uNewState & LVIS_SELECTED))
break;
- tableOnSelected((void *) data);
+ tableSelectionChanged((void *) data);
return 0;
}
return (*fv_DefSubclassProc)(hwnd, uMsg, wParam, lParam);
diff --git a/redo/table_windows.go b/redo/table_windows.go
index 2976011..52d964f 100644
--- a/redo/table_windows.go
+++ b/redo/table_windows.go
@@ -187,8 +187,8 @@ func tableToggled(data unsafe.Pointer, row C.int, col C.int) {
panic(fmt.Errorf("tableSetHot() on non-checkbox at (%d, %d)", row, col))
}
-//export tableOnSelected
-func tableOnSelected(data unsafe.Pointer) {
+//export tableSelectionChanged
+func tableSelectionChanged(data unsafe.Pointer) {
t := (*table)(data)
t.selected.fire()
}