[gnome-software] trivial: Fix uint/int mixup for rating property
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix uint/int mixup for rating property
- Date: Thu, 15 Oct 2015 13:35:44 +0000 (UTC)
commit bfae75beec5ee374d13cf24bc75ac61737265255
Author: Robert Ancell <robert ancell canonical com>
Date: Thu Oct 15 14:34:39 2015 +0100
trivial: Fix uint/int mixup for rating property
src/gs-app.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-app.c b/src/gs-app.c
index e046b70..c1afe05 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -2109,7 +2109,7 @@ gs_app_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *
g_value_set_string (value, app->description);
break;
case PROP_RATING:
- g_value_set_uint (value, app->rating);
+ g_value_set_int (value, app->rating);
break;
case PROP_KIND:
g_value_set_uint (value, app->kind);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]