[gnome-software/gnome-3-26] Fix crash when no plugin performs purchase
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-26] Fix crash when no plugin performs purchase
- Date: Wed, 24 Jan 2018 02:55:31 +0000 (UTC)
commit 4f613352cf090c9223e286a62d022a7adddbd8e7
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Jan 24 15:53:38 2018 +1300
Fix crash when no plugin performs purchase
src/gs-page.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-page.c b/src/gs-page.c
index 6102303..b755580 100644
--- a/src/gs-page.c
+++ b/src/gs-page.c
@@ -360,9 +360,8 @@ gs_page_app_purchased_cb (GObject *source,
}
if (gs_app_get_state (helper->app) != AS_APP_STATE_AVAILABLE) {
- g_warning ("no plugin purchased %s: %s",
- gs_app_get_id (helper->app),
- error->message);
+ g_warning ("no plugin purchased %s",
+ gs_app_get_id (helper->app));
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]