[gnome-battery-bench] SystemInfo: move renderer between HW & SW in json
- From: Christian Kellner <gicmo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-battery-bench] SystemInfo: move renderer between HW & SW in json
- Date: Tue, 9 May 2017 14:45:23 +0000 (UTC)
commit 20e41ae9fd3ae0312f55bb45bd50d05eaf25ea56
Author: Christian Kellner <gicmo gnome org>
Date: Fri May 5 15:26:47 2017 +0200
SystemInfo: move renderer between HW & SW in json
src/system-info.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/system-info.c b/src/system-info.c
index 76a081a..6b9077d 100644
--- a/src/system-info.c
+++ b/src/system-info.c
@@ -910,9 +910,6 @@ gbb_system_info_to_json (const GbbSystemInfo *info, JsonBuilder *builder)
json_builder_end_object(builder);
}
- json_builder_set_member_name(builder, "renderer");
- json_builder_add_string_value(builder, info->renderer);
-
json_builder_set_member_name(builder, "memory");
{
json_builder_begin_object(builder);
@@ -923,6 +920,10 @@ gbb_system_info_to_json (const GbbSystemInfo *info, JsonBuilder *builder)
json_builder_end_object(builder);
}
+
+ json_builder_set_member_name(builder, "renderer");
+ json_builder_add_string_value(builder, info->renderer);
+
json_builder_set_member_name(builder, "software");
{
json_builder_begin_object(builder);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]