mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
linux build error fixes
This commit is contained in:
parent
4cc8d1cc2f
commit
1bdeda8530
1 changed files with 0 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue