rem: tmp = gconf_client_get_string (conf, GCONF_PREFIX"audio_driver", NULL); if (tmp == NULL || strcmp (tmp, "") == 0) tmp = g_strdup ("auto");  gtx->priv->ao_driver = load_audio_out_driver (gtx, tmp); g_free (tmp);   if (!gtx->priv->ao_driver) { tmp = g_strdup ("null"); gtx->priv->ao_driver = load_audio_out_driver (gtx, tmp); g_free (tmp); }
context: load_config_from_gconf (GtkXine *gtx){	GConfClient *conf;	char *tmp;	if (!gconf_is_initialized ())	{		g_signal_emit (G_OBJECT (gtx),				gtx_table_signals[ERROR], 0,				GTX_STARTUP,				_("The configuration system is not initialised.\nThe defaults will be used."));		return;	}	conf = gconf_client_get_default ();	/* The logo path */	tmp = LOGO_PATH;	xine_config_register_string (gtx->priv->xine,			"misc.logo_mrl", tmp,			"audio driver to use",			NULL, 10, NULL, NULL);//	xine_config_update_string (gtx->priv->xine,//			"misc.logo_mrl", tmp);	/* The audio output, equivalent to audio.driver*/	tmp = gconf_client_get_string (conf,			GCONF_PREFIX"audio_driver",			NULL);	if (tmp == NULL || strcmp (tmp, "") == 0)		tmp = g_strdup ("auto");	gtx->priv->ao_driver = load_audio_out_driver (gtx, tmp);	g_free (tmp);	/* Fallback on null, just in case */	if (!gtx->priv->ao_driver)	{		tmp = g_strdup ("null");		gtx->priv->ao_driver = load_audio_out_driver (gtx, tmp);		g_free (tmp);	}	/* default demux strategy */	xine_config_register_string (gtx->priv->xine,			"misc.demux_strategy", "reverse",			"demuxer selection strategy",			"{ default  reverse  content  extension }, default: 0",			10, NULL, NULL);//	xine_config_update_string (gtx->priv->xine,//			"misc.demux_strategy", "reverse");	/* DVD and VCD Device */	tmp = gconf_client_get_string (conf, GCONF_PREFIX"mediadev", NULL);	if (tmp == NULL || strcmp (tmp, "") == 0)		tmp = g_strdup ("/dev/cdrom");	xine_config_register_string (gtx->priv->xine,			"input.dvd_device", tmp,			"device used for dvd drive",			NULL, 10, NULL, NULL);//	xine_config_update_string (gtx->priv->xine,//			"input.dvd_device", tmp);	xine_config_register_string (gtx->priv->xine,			"input.vcd_device", tmp,			"device used for cdrom drive",			NULL, 10, NULL, NULL);//	xine_config_update_string (gtx->priv->xine,//			"input.vcd_device", tmp);	/* TODO skip by chapter for DVD */}