linux build error fixes

This commit is contained in:
Lea Anthony 2025-06-14 21:26:41 +10:00
commit 1bdeda8530
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405

View file

@ -1003,12 +1003,6 @@ func (w *linuxWebviewWindow) gtkWidget() *C.GtkWidget {
return (*C.GtkWidget)(w.window)
}
func (w *linuxWebviewWindow) hide() {
// save position
w.lastX, w.lastY = w.position()
C.gtk_widget_hide(w.gtkWidget())
}
func (w *linuxWebviewWindow) windowHide() {
C.gtk_widget_hide(w.gtkWidget())
}
@ -1119,14 +1113,6 @@ func (w *linuxWebviewWindow) setSize(width, height int) {
C.gint(height))
}
func (w *linuxWebviewWindow) show() {
if w.gtkWidget() == nil {
return
}
C.gtk_widget_show_all(w.gtkWidget())
//w.setPosition(w.lastX, w.lastY)
}
func (w *linuxWebviewWindow) windowShow() {
if w.gtkWidget() == nil {
return