parameters: (self)
docstring: Load the gobject and gthread packages if they are missing.
docstring_summary: Load the gobject and gthread packages if they are missing.
docstring_tokens: Load the gobject and gthread packages if they are missing .
function: def check_vala_deps(self):
  	"""
  	Load the gobject and gthread packages if they are missing.
  	"""
  	if not self.env.HAVE_GOBJECT:
  		pkg_args = {'package':      'gobject-2.0',
  		            'uselib_store': 'GOBJECT',
  		            'args':         '--cflags --libs'}
  		if getattr(Options.options, 'vala_target_glib', None):
  			pkg_args['atleast_version'] = Options.options.vala_target_glib
  		self.check_cfg(**pkg_args)
  
  	if not self.env.HAVE_GTHREAD:
  		pkg_args = {'package':      'gthread-2.0',
  		            'uselib_store': 'GTHREAD',
  		            'args':         '--cflags --libs'}
  		if getattr(Options.options, 'vala_target_glib', None):
  			pkg_args['atleast_version'] = Options.options.vala_target_glib
  		self.check_cfg(**pkg_args)
function_tokens: def check_vala_deps ( self ) : if not self . env . HAVE_GOBJECT : pkg_args = { 'package' : 'gobject-2.0' , 'uselib_store' : 'GOBJECT' , 'args' : '--cflags --libs' } if getattr ( Options . options , 'vala_target_glib' , None ) : pkg_args [ 'atleast_version' ] = Options . options . vala_target_glib self . check_cfg ( * * pkg_args ) if not self . env . HAVE_GTHREAD : pkg_args = { 'package' : 'gthread-2.0' , 'uselib_store' : 'GTHREAD' , 'args' : '--cflags --libs' } if getattr ( Options . options , 'vala_target_glib' , None ) : pkg_args [ 'atleast_version' ] = Options . options . vala_target_glib self . check_cfg ( * * pkg_args )