[gnome-software] Fix build with PackageKit < 0.9.1



commit b3629ae685e3d1f9be46332a670174498a04fc20
Author: Dominique Leuenberger <dimstar opensuse org>
Date:   Wed Mar 5 21:46:04 2014 +0100

    Fix build with PackageKit < 0.9.1
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725752

 src/plugins/gs-plugin-packagekit-refine.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit-refine.c b/src/plugins/gs-plugin-packagekit-refine.c
index 9c22d74..51dcb8e 100644
--- a/src/plugins/gs-plugin-packagekit-refine.c
+++ b/src/plugins/gs-plugin-packagekit-refine.c
@@ -499,9 +499,11 @@ gs_plugin_packagekit_refine_details_app (GsPlugin *plugin,
                        gs_app_set_description (app,
                                                GS_APP_QUALITY_LOWEST,
                                                desc);
+#if PK_CHECK_VERSION(0,9,1)
                        gs_app_set_summary (app,
                                            GS_APP_QUALITY_LOWEST,
                                            pk_details_get_summary (details));
+#endif
                        g_free (desc);
                        break;
                }


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