rem: memset (&entry, 0, sizeof (entry)); if (xine_config_lookup_entry (bvw->priv->xine, "codec.real_codecs_path", &entry)) { entry.str_value = g_strdup (path); xine_config_update_entry (bvw->priv->xine, &entry); }
add: bvw_config_helper_string (bvw->priv->xine, "codec.real_codecs_path", path, &entry); entry.str_value = g_strdup (path); xine_config_update_entry (bvw->priv->xine, &entry);
context: bacon_video_widget_set_proprietary_plugins_path (BaconVideoWidget *bvw,		const char *path){	xine_cfg_entry_t entry;	if (xine_config_lookup_entry (bvw->priv->xine,				"codec.win32_path", &entry))	{		entry.str_value = g_strdup (path);		xine_config_update_entry (bvw->priv->xine, &entry);	}	memset (&entry, 0, sizeof (entry));	if (xine_config_lookup_entry (bvw->priv->xine,				"codec.real_codecs_path", &entry))	{		entry.str_value = g_strdup (path);		xine_config_update_entry (bvw->priv->xine, &entry);	}	/* And we try and create symlinks from /usr/lib/win32 to	 * the local user path */	totem_create_symlinks ("/usr/lib/win32", path);}