diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -345,7 +345,7 @@ int main(int argc, char **argv) if (ret == 0) { - project = g_study_project_open(prj_filename); + project = g_study_project_open(prj_filename, !batch_mode); if (project == NULL) goto bad_project; } @@ -440,7 +440,7 @@ static gboolean load_last_project(GGenConfig *cfg) filename = NULL; if (filename == NULL) project = g_study_project_new(); - else project = g_study_project_open(filename); + else project = g_study_project_open(filename, !is_batch_mode()); set_current_project(project); @@ -479,7 +479,7 @@ static int open_binaries(char **files, int count) if (content != NULL) { - g_study_project_discover_binary_content(project, content, NULL, NULL); + g_study_project_discover_binary_content(project, content, !is_batch_mode(), NULL, NULL); g_object_unref(G_OBJECT(content)); } |