Skip to content

Commit

Permalink
Fix linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
leaanthony committed Sep 17, 2024
1 parent 5670a4d commit 40076c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions v3/pkg/application/linux_cgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -1767,23 +1767,23 @@ func runSaveFileDialog(dialog *SaveFileDialogStruct) (chan string, error) {
}

func (w *linuxWebviewWindow) cut() {
C.webkit_web_view_execute_editing_command(w.webview, C.WEBKIT_EDITING_COMMAND_CUT)
//C.webkit_web_view_execute_editing_command(w.webview, C.WEBKIT_EDITING_COMMAND_CUT)
}

func (w *linuxWebviewWindow) paste() {
C.webkit_web_view_execute_editing_command(w.webview, C.WEBKIT_EDITING_COMMAND_PASTE)
//C.webkit_web_view_execute_editing_command(w.webview, C.WEBKIT_EDITING_COMMAND_PASTE)
}

func (w *linuxWebviewWindow) copy() {
C.webkit_web_view_execute_editing_command(w.webview, C.WEBKIT_EDITING_COMMAND_COPY)
//C.webkit_web_view_execute_editing_command(w.webview, C.WEBKIT_EDITING_COMMAND_COPY)
}

func (w *linuxWebviewWindow) selectAll() {
C.webkit_web_view_execute_editing_command(w.webview, C.WEBKIT_EDITING_COMMAND_SELECT_ALL)
//C.webkit_web_view_execute_editing_command(w.webview, C.WEBKIT_EDITING_COMMAND_SELECT_ALL)
}

func (w *linuxWebviewWindow) undo() {
C.webkit_web_view_execute_editing_command(w.webview, C.WEBKIT_EDITING_COMMAND_UNDO)
//C.webkit_web_view_execute_editing_command(w.webview, C.WEBKIT_EDITING_COMMAND_UNDO)
}

func (w *linuxWebviewWindow) redo() {
Expand Down

0 comments on commit 40076c6

Please sign in to comment.