Class: Gdk::X11Loader

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

Instance Method Summary collapse

Instance Method Details

#loadObject



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

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