[gnome-logs/wip/test] Return the time with g_strdup
- From: Rashi Aswani <aswanirashi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs/wip/test] Return the time with g_strdup
- Date: Fri, 21 Aug 2015 17:17:52 +0000 (UTC)
commit c0ae5607d95dc06734f50bac638a811a2093d40e
Author: Rashi Aswani <aswanirashi19 gmail com>
Date: Fri Aug 21 22:47:13 2015 +0530
Return the time with g_strdup
tests/gl-mock-journal.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/tests/gl-mock-journal.c b/tests/gl-mock-journal.c
index b6f3fa6..a6d6bd7 100644
--- a/tests/gl-mock-journal.c
+++ b/tests/gl-mock-journal.c
@@ -70,9 +70,8 @@ gchar *
gl_mock_journal_get_current_boot_time (GlMockJournal *journal,
const gchar *boot_match)
{
- gchar *time;
- time="01:00:00";
- return time;
+ gchar *time = "12:00 AM";
+ return g_strdup("July 29 10:55 PM - Aug 1 12:08 AM");
}
GArray *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]