diff --git a/v3/pkg/application/linux_cgo.go b/v3/pkg/application/linux_cgo.go index a06da016a..a42a7997d 100644 --- a/v3/pkg/application/linux_cgo.go +++ b/v3/pkg/application/linux_cgo.go @@ -1066,11 +1066,6 @@ func (w *linuxWebviewWindow) startDrag() error { return nil } -func (w *linuxWebviewWindow) flash(enabled bool) { - // Flash the window to get the user's attention - C.gtk_window_set_urgency_hint(w.gtkWindow(), gtkBool(enabled)) -} - func enableDevTools(webview pointer) { settings := C.webkit_web_view_get_settings((*C.WebKitWebView)(webview)) enabled := C.webkit_settings_get_enable_developer_extras(settings) diff --git a/v3/pkg/application/webview_window_linux.go b/v3/pkg/application/webview_window_linux.go index 20cb8a7b2..8a4a4d09a 100644 --- a/v3/pkg/application/webview_window_linux.go +++ b/v3/pkg/application/webview_window_linux.go @@ -104,19 +104,6 @@ func (w *linuxWebviewWindow) disableSizeConstraints() { w.setMinMaxSize(x, y, width*scale, height*scale) } -func (w *linuxWebviewWindow) fullscreen() { - w.maximise() - //w.lastWidth, w.lastHeight = w.size() - x, y, width, height, scale := w.getCurrentMonitorGeometry() - if x == -1 && y == -1 && width == -1 && height == -1 { - return - } - w.setMinMaxSize(0, 0, width*scale, height*scale) - w.setSize(width*scale, height*scale) - windowFullscreen(w.window) - w.setRelativePosition(0, 0) -} - func (w *linuxWebviewWindow) unminimise() { w.present() } @@ -323,20 +310,6 @@ func (w *linuxWebviewWindow) run() { } } -func (w *linuxWebviewWindow) destroy() { - w.parent.markAsDestroyed() - // Free menu - if w.gtkmenu != nil { - menuDestroy(w.gtkmenu) - w.gtkmenu = nil - } - windowDestroy(w.window) -} - -func (w *linuxWebviewWindow) setEnabled(enabled bool) { - widgetSetSensitive(w.window, enabled) -} - func (w *linuxWebviewWindow) startResize(border string) error { // FIXME: what do we need to do here? return nil