Class: GdkX11::Loader

Inherits:
GObjectIntrospection::Loader
  • Object
show all
Defined in:
lib/gdk4/x11-loader.rb

Instance Method Summary collapse

Instance Method Details

#loadObject



19
20
21
22
23
24
25
26
# File 'lib/gdk4/x11-loader.rb', line 19

def load
  self.version = "4.0"
  begin
    super("GdkX11")
  rescue GObjectIntrospection::RepositoryError::TypelibNotFound
    # Ignore. Some environments such as Windows don't have it.
  end
end