File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ local component = require 'lgi.component'
2020local record = require ' lgi.record'
2121local ffi = require ' lgi.ffi'
2222local ti = ffi .types
23- local GObject = gi .require ' GObject'
23+ local GObject = assert ( gi .require ( ' GObject' ))
2424
2525-- Implementation of class and interface component loading.
2626local class = {
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ local record = require 'lgi.record'
2121
2222local ffi = {}
2323
24- local gobject = gi .require (' GObject' )
25- local glib = gi .require (' GLib' )
24+ local gobject = assert ( gi .require (' GObject' ) )
25+ local glib = assert ( gi .require (' GLib' ) )
2626
2727-- Gather all basic types. We have to 'steal' them from well-known
2828-- declarations, because girepository API does not allow synthesizing
You can’t perform that action at this time.
0 commit comments