summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-04-27 09:29:48 +0200
committerAlexander Larsson <alexl@redhat.com>2016-04-27 09:29:48 +0200
commita304b786f47ade0cf8886569fad3c6742059afb3 (patch)
treeacce9ebc1480f85904fe8c5db448eaf2458ada33 /lib
parent965530c1439e1d6ff0d7fef689cb245678fb9e20 (diff)
downloadxdg-app-a304b786f47ade0cf8886569fad3c6742059afb3.tar.gz
installation_fetch_remote_size_sync: Always fail with deprecation error
This is not supported anymore since it was replaced with the summary cache. Remove the code so nothing accidentally uses it.
Diffstat (limited to 'lib')
-rw-r--r--lib/xdg-app-installation.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/xdg-app-installation.c b/lib/xdg-app-installation.c
index 788b333..140be96 100644
--- a/lib/xdg-app-installation.c
+++ b/lib/xdg-app-installation.c
@@ -1202,15 +1202,7 @@ xdg_app_installation_fetch_remote_size_sync (XdgAppInstallation *self,
GCancellable *cancellable,
GError **error)
{
- XdgAppInstallationPrivate *priv = xdg_app_installation_get_instance_private (self);
-
- return xdg_app_dir_fetch_sizes (priv->dir, remote_name, commit,
- download_size,
- NULL,
- NULL,
- installed_size,
- cancellable,
- error);
+ return xdg_app_fail (error, "Deprecated function call xdg_app_installation_fetch_remote_size_sync");
}
/**