summaryrefslogtreecommitdiff
path: root/builder/builder-module.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-01-11 10:36:58 +0100
committerAlexander Larsson <alexl@redhat.com>2016-01-11 11:40:46 +0100
commit1b2ed4fe09bdde0c46ef447f1a5e2058e87fb051 (patch)
treefcaa9bca65aa1d733b96018257b37e5ff8fdf8ce /builder/builder-module.c
parent5896b5ae08f99b6155273b0b0749fb7c1619daf9 (diff)
downloadxdg-app-1b2ed4fe09bdde0c46ef447f1a5e2058e87fb051.tar.gz
builder: Pass down global cleanups via BuildContext
Diffstat (limited to 'builder/builder-module.c')
-rw-r--r--builder/builder-module.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builder/builder-module.c b/builder/builder-module.c
index a499758..a5e490b 100644
--- a/builder/builder-module.c
+++ b/builder/builder-module.c
@@ -1034,11 +1034,12 @@ builder_module_set_changes (BuilderModule *self,
void
builder_module_cleanup_collect (BuilderModule *self,
- char **global_patterns,
+ BuilderContext *context,
GHashTable *to_remove_ht)
{
GPtrArray *changed_files;
int i, j;
+ const char **global_patterns = builder_context_get_global_cleanup (context);
changed_files = self->changes;
for (i = 0; i < changed_files->len; i++)