[gnome-software/wip/rancell/paid] Fix plugin loader purchase method



commit 10fba23beaeba2b8eb3a2aa7e3cf78e6c2b9c15a
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri May 6 16:11:21 2016 +1200

    Fix plugin loader purchase method

 src/gs-plugin-loader.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 7b8f2c2..7b00b72 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -2868,6 +2868,9 @@ gs_plugin_loader_app_action_async (GsPluginLoader *plugin_loader,
        state->app = g_object_ref (app);
 
        switch (action) {
+       case GS_PLUGIN_LOADER_ACTION_PURCHASE:
+               state->function_name = "gs_plugin_app_purchase";
+               break;
        case GS_PLUGIN_LOADER_ACTION_INSTALL:
                state->function_name = "gs_plugin_app_install";
                break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]