From e1c8235fdbf75686a27527e560c24726ea89137b Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Fri, 2 Dec 2022 15:14:57 +0000 Subject: [PATCH] Remove deprecated. --- file.go | 5 ----- zenity.go | 7 ------- 2 files changed, 12 deletions(-) diff --git a/file.go b/file.go index b2c8a32..2adb9b9 100644 --- a/file.go +++ b/file.go @@ -26,11 +26,6 @@ func SelectFileMultiple(options ...Option) ([]string, error) { return selectFileMultiple(applyOptions(options)) } -// Deprecated: use SelectFileMultiple. -func SelectFileMutiple(options ...Option) ([]string, error) { - return SelectFileMultiple(options...) -} - // SelectFileSave displays the save file selection dialog. // // Valid options: Title, WindowIcon, Attach, Modal, Filename, diff --git a/zenity.go b/zenity.go index d6d0aab..b06b120 100644 --- a/zenity.go +++ b/zenity.go @@ -182,13 +182,6 @@ func WindowIcon(icon any) Option { return funcOption(func(o *options) { o.windowIcon = icon }) } -// CustomIcon returns an Option to set a custom dialog icon. -// -// Deprecated: use Icon instead. -func CustomIcon(path string) Option { - return Icon(path) -} - // Modal returns an Option to set the modal hint. func Modal() Option { return funcOption(func(o *options) { o.modal = true })