Skip to content

Commit

Permalink
chore: fix some typos in comments (wailsapp#3357)
Browse files Browse the repository at this point in the history
Signed-off-by: reallylowest <[email protected]>
  • Loading branch information
reallylowest authored Mar 31, 2024
1 parent 1f74b33 commit e7756e9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions v2/internal/frontend/desktop/linux/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ void SetMinMaxSize(GtkWindow *window, int min_width, int min_height, int max_wid
gtk_window_set_geometry_hints(window, NULL, &size, flags);
}

// function to disable the context menu but propogate the event
// function to disable the context menu but propagate the event
static gboolean disableContextMenu(GtkWidget *widget, WebKitContextMenu *context_menu, GdkEvent *event, WebKitHitTestResult *hit_test_result, gpointer data)
{
// return true to disable the context menu
Expand All @@ -254,7 +254,7 @@ static gboolean disableContextMenu(GtkWidget *widget, WebKitContextMenu *context

void DisableContextMenu(void *webview)
{
// Disable the context menu but propogate the event
// Disable the context menu but propagate the event
g_signal_connect(WEBKIT_WEB_VIEW(webview), "context-menu", G_CALLBACK(disableContextMenu), NULL);
}

Expand Down
2 changes: 1 addition & 1 deletion v2/internal/frontend/desktop/windows/winc/combobox.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (cb *ComboBox) OnSelectedChange() *EventManager {
return &cb.onSelectedChange
}

// Message processer
// Message processor
func (cb *ComboBox) WndProc(msg uint32, wparam, lparam uintptr) uintptr {
switch msg {
case w32.WM_COMMAND:
Expand Down
2 changes: 1 addition & 1 deletion v2/internal/frontend/desktop/windows/winc/listview.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ func (lv *ListView) OnEndScroll() *EventManager {
return &lv.onEndScroll
}

// Message processer
// Message processor
func (lv *ListView) WndProc(msg uint32, wparam, lparam uintptr) uintptr {
switch msg {
/*case w32.WM_ERASEBKGND:
Expand Down
2 changes: 1 addition & 1 deletion v2/internal/frontend/desktop/windows/winc/treeview.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (tv *TreeView) OnViewChange() *EventManager {
return &tv.onViewChange
}

// Message processer
// Message processor
func (tv *TreeView) WndProc(msg uint32, wparam, lparam uintptr) uintptr {
switch msg {
case w32.WM_NOTIFY:
Expand Down
1 change: 1 addition & 0 deletions website/src/pages/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added -m (skip `go mod tidy`) flag to dev command by @te5se in [PR](https://github.com/wailsapp/wails/pull/3275)
- Added mac option `DisableZoom` to remove zoom button. Added by @wizzymore in [PR](https://github.com/wailsapp/wails/pull/3289)
- Changed Create a project with changing the default name to the project’s name. Changed by [@Twacqwq](https://github.com/Twacqwq) in [PR](https://github.com/wailsapp/wails/pull/3303)
- Fix some typos in comments. Changed by [@reallylowest](https://github.com/reallylowest) in [PR](https://github.com/wailsapp/wails/pull/3357)

## v2.8.0 - 2024-02-08

Expand Down

0 comments on commit e7756e9

Please sign in to comment.