[gnome-software] flatpak: trivial: Remove an unused function
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] flatpak: trivial: Remove an unused function
- Date: Mon, 4 Mar 2019 08:31:10 +0000 (UTC)
commit 4307bf3e060467095a19411cd4c9499b66929c58
Author: Kalev Lember <klember redhat com>
Date: Sun Mar 3 11:45:10 2019 +0100
flatpak: trivial: Remove an unused function
plugins/flatpak/gs-flatpak-transaction.c | 7 -------
plugins/flatpak/gs-flatpak-transaction.h | 1 -
2 files changed, 8 deletions(-)
---
diff --git a/plugins/flatpak/gs-flatpak-transaction.c b/plugins/flatpak/gs-flatpak-transaction.c
index cddaae18..3ed94e5b 100644
--- a/plugins/flatpak/gs-flatpak-transaction.c
+++ b/plugins/flatpak/gs-flatpak-transaction.c
@@ -27,13 +27,6 @@ static guint signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE (GsFlatpakTransaction, gs_flatpak_transaction, FLATPAK_TYPE_TRANSACTION)
-FlatpakInstallation *
-gs_flatpak_transaction_get_inst (FlatpakTransaction *transaction)
-{
- GsFlatpakTransaction *self = GS_FLATPAK_TRANSACTION (transaction);
- return self->installation;
-}
-
static void
gs_flatpak_transaction_finalize (GObject *object)
{
diff --git a/plugins/flatpak/gs-flatpak-transaction.h b/plugins/flatpak/gs-flatpak-transaction.h
index db8edefb..2caa289d 100644
--- a/plugins/flatpak/gs-flatpak-transaction.h
+++ b/plugins/flatpak/gs-flatpak-transaction.h
@@ -19,7 +19,6 @@ G_DECLARE_FINAL_TYPE (GsFlatpakTransaction, gs_flatpak_transaction, GS, FLATPAK_
FlatpakTransaction *gs_flatpak_transaction_new (FlatpakInstallation *installation,
GCancellable *cancellable,
GError **error);
-FlatpakInstallation *gs_flatpak_transaction_get_inst (FlatpakTransaction *transaction);
GsApp *gs_flatpak_transaction_get_app_by_ref (FlatpakTransaction *transaction,
const gchar *ref);
void gs_flatpak_transaction_add_app (FlatpakTransaction *transaction,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]