Fixed syntax errors
This commit is contained in:
parent
e259f122c7
commit
6ced7d1372
|
@ -1,6 +1,7 @@
|
|||
package theme
|
||||
|
||||
import "image"
|
||||
import "git.tebibyte.media/tomo/tomo/data"
|
||||
|
||||
// IconSize represents the size of an icon.
|
||||
type IconSize int; const (
|
||||
|
@ -133,7 +134,6 @@ type Icon int; const (
|
|||
// editing
|
||||
IconUndo
|
||||
IconRedo
|
||||
IconHistory
|
||||
IconCut
|
||||
IconCopy
|
||||
IconPaste
|
||||
|
@ -252,7 +252,7 @@ type ApplicationIcon struct {
|
|||
}
|
||||
|
||||
// ApplicationRole describes what an application does.
|
||||
type ApplicationRole struct {
|
||||
type ApplicationRole int; const (
|
||||
RoleUnknown ApplicationRole = iota
|
||||
|
||||
RoleWebBrowser
|
||||
|
@ -285,4 +285,4 @@ type ApplicationRole struct {
|
|||
RoleClock
|
||||
RoleCalendar
|
||||
RoleChecklist
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
package theme
|
||||
|
||||
import "image"
|
||||
import "git.tebibyte.media/tomo/tomo"
|
||||
import "git.tebibyte.media/tomo/tomo/data"
|
||||
import "git.tebibyte.media/tomo/tomo/event"
|
||||
|
||||
// Role describes the role of an object.
|
||||
|
|
Loading…
Reference in New Issue