From 7cffe7c1b186031ab242ec153b0920e2ea6d15da Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 16 May 2016 10:22:45 +0200 Subject: Actually export flatpak_installation_drop_caches --- lib/flatpak-installation.c | 4 ++-- lib/flatpak-installation.h | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/flatpak-installation.c b/lib/flatpak-installation.c index a6ead4f..68e31b1 100644 --- a/lib/flatpak-installation.c +++ b/lib/flatpak-installation.c @@ -231,8 +231,8 @@ flatpak_installation_get_dir (FlatpakInstallation *self) * @cancellable: (nullable): a #GCancellable * @error: return location for a #GError * - * Drops all internal (in-memory) caches. For instance, this may be needed to pick up new - * remotes that have been added outside this instance. + * Drops all internal (in-memory) caches. For instance, this may be needed to pick up new or changed + * remotes configured outside this installation instance. * * Returns: %TRUE on success, %FALSE on error */ diff --git a/lib/flatpak-installation.h b/lib/flatpak-installation.h index 4d954fe..796d1e1 100644 --- a/lib/flatpak-installation.h +++ b/lib/flatpak-installation.h @@ -95,6 +95,9 @@ typedef void (*FlatpakProgressCallback)(const char *status, gboolean estimating, gpointer user_data); +FLATPAK_EXTERN gboolean flatpak_installation_drop_caches (FlatpakInstallation *self, + GCancellable *cancellable, + GError **error); FLATPAK_EXTERN gboolean flatpak_installation_get_is_user (FlatpakInstallation *self); FLATPAK_EXTERN GFile *flatpak_installation_get_path (FlatpakInstallation *self); FLATPAK_EXTERN gboolean flatpak_installation_launch (FlatpakInstallation *self, -- cgit v1.2.1