Blame SOURCES/0141-cli-get-list-of-possible-workflows-for-problem_data_.patch

06486d
From f2055f8c6469b590172d94e9ea530243af89f028 Mon Sep 17 00:00:00 2001
06486d
From: Jakub Filak <jfilak@redhat.com>
06486d
Date: Thu, 2 Jul 2015 15:26:29 +0200
06486d
Subject: [PATCH] cli: get list of possible workflows for problem_data_t
06486d
06486d
File system access is not possible, so we have to rely on the data
06486d
transfered via D-Bus.
06486d
06486d
Related: #1224984
06486d
06486d
Signed-off-by: Jakub Filak <jfilak@redhat.com>
06486d
---
06486d
 src/cli/list.c | 2 +-
06486d
 1 file changed, 1 insertion(+), 1 deletion(-)
06486d
06486d
diff --git a/src/cli/list.c b/src/cli/list.c
06486d
index b3b9066..483e9de 100644
06486d
--- a/src/cli/list.c
06486d
+++ b/src/cli/list.c
06486d
@@ -97,7 +97,7 @@ static void print_crash(problem_data_t *problem_data, int detailed, int text_siz
06486d
              * libreport and try to improve libreport public API.
06486d
              */
06486d
             const char *const dump_dir_name = problem_data_get_content_or_NULL(problem_data, CD_DUMPDIR);
06486d
-            GList *const wf_names = list_possible_events_glist(dump_dir_name, "workflow");
06486d
+            GList *const wf_names = list_possible_events_problem_data_glist(problem_data, dump_dir_name, "workflow");
06486d
             GHashTable *const possible_workflows = load_workflow_config_data_from_list(wf_names, WORKFLOWS_DIR);
06486d
             g_list_free_full(wf_names, free);
06486d
 
06486d
-- 
06486d
2.4.3
06486d