[gnome-software/wip/temp/ubuntu-xenial-rebased: 32/329] Fix module checking for reviews



commit 393b5f2dfa4b25c915555569cb03ffdfa27d0c6e
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Feb 5 10:10:25 2016 +1300

    Fix module checking for reviews

 src/gs-plugin-loader.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 3c732b3..287d3b5 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -2918,6 +2918,7 @@ gs_plugin_loader_open_plugin (GsPluginLoader *plugin_loader,
        GsPluginGetDepsFunc order_before = NULL;
        GsPluginGetDepsFunc plugin_conflicts = NULL;
        GsPlugin *plugin = NULL;
+       gpointer set_review;
 
        module = g_module_open (filename, 0);
        if (module == NULL) {
@@ -2950,7 +2951,7 @@ gs_plugin_loader_open_plugin (GsPluginLoader *plugin_loader,
        /* Check if this plugin can do reviews */
        if (g_module_symbol (module,
                             "gs_plugin_app_set_review",
-                            NULL))
+                            &set_review))
                priv->supports_reviews = TRUE;
 
        /* print what we know */


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