mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 08:25:34 +00:00
app/internal/xkb: fix cleanup check
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -9,8 +9,8 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"syscall"
|
|
||||||
"unicode"
|
"unicode"
|
||||||
|
"syscall"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func (x *Context) Destroy() {
|
func (x *Context) Destroy() {
|
||||||
if x.state != nil {
|
if x.compState != nil {
|
||||||
C.xkb_compose_state_unref(x.compState)
|
C.xkb_compose_state_unref(x.compState)
|
||||||
x.compState = nil
|
x.compState = nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user