mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-23 18:51:44 +00:00
Remove deprecated API added since the last tarball release
This commit is contained in:
parent
1642b3b95a
commit
fdce4f57a3
@ -92,41 +92,6 @@ fwupd_result_set_unique_id (FwupdResult *result, const gchar *unique_id)
|
||||
priv->unique_id = g_strdup (unique_id);
|
||||
}
|
||||
|
||||
/**
|
||||
* fwupd_result_get_update_remote_id:
|
||||
* @result: A #FwupdResult
|
||||
*
|
||||
* Gets the remote ID that can be used for downloading.
|
||||
*
|
||||
* Returns: the ID, or %NULL if unset
|
||||
*
|
||||
* Since: 0.9.3
|
||||
**/
|
||||
const gchar *
|
||||
fwupd_result_get_update_remote_id (FwupdResult *result)
|
||||
{
|
||||
FwupdResultPrivate *priv = GET_PRIVATE (result);
|
||||
g_return_val_if_fail (FWUPD_IS_RESULT (result), NULL);
|
||||
return fwupd_release_get_remote_id (priv->release);
|
||||
}
|
||||
|
||||
/**
|
||||
* fwupd_result_set_update_remote_id:
|
||||
* @result: A #FwupdResult
|
||||
* @update_remote_id: the result ID, e.g. "USB:foo"
|
||||
*
|
||||
* Sets the remote ID that can be used for downloading.
|
||||
*
|
||||
* Since: 0.9.3
|
||||
**/
|
||||
void
|
||||
fwupd_result_set_update_remote_id (FwupdResult *result, const gchar *update_remote_id)
|
||||
{
|
||||
FwupdResultPrivate *priv = GET_PRIVATE (result);
|
||||
g_return_if_fail (FWUPD_IS_RESULT (result));
|
||||
fwupd_release_set_remote_id (priv->release, update_remote_id);
|
||||
}
|
||||
|
||||
/**
|
||||
* fwupd_result_get_release:
|
||||
* @result: A #FwupdResult
|
||||
|
@ -225,11 +225,6 @@ const gchar *fwupd_result_get_update_name (FwupdResult *result);
|
||||
G_DEPRECATED_FOR(fwupd_release_set_name)
|
||||
void fwupd_result_set_update_name (FwupdResult *result,
|
||||
const gchar *update_name);
|
||||
G_DEPRECATED_FOR(fwupd_release_get_remote_id)
|
||||
const gchar *fwupd_result_get_update_remote_id (FwupdResult *result);
|
||||
G_DEPRECATED_FOR(fwupd_release_set_remote_id)
|
||||
void fwupd_result_set_update_remote_id (FwupdResult *result,
|
||||
const gchar *update_remote_id);
|
||||
|
||||
/* helpers */
|
||||
GVariant *fwupd_result_to_data (FwupdResult *result,
|
||||
|
Loading…
Reference in New Issue
Block a user