Commit b2f19ea3 authored by Harish Fulara's avatar Harish Fulara

project: remove unused 'ignore_unsaved_changes' param

parent 2dfa9de9
Pipeline #16316 passed with stage
in 37 minutes and 54 seconds
......@@ -495,15 +495,9 @@ class ProjectManager(GObject.Object, Loggable):
return True
def newBlankProject(self, ignore_unsaved_changes=False):
def newBlankProject(self):
"""Creates a new blank project and sets it as the current project.
Args:
ignore_unsaved_changes (Optional[bool]): If True, forces
the creation of a new project without prompting the user about
unsaved changes. This is an "extreme" way to reset Pitivi's
state.
Returns:
bool: Whether the project has been created successfully.
"""
......
......@@ -65,7 +65,7 @@ class BaseTestMediaLibrary(common.TestCase):
if project_uri:
self.app.project_manager.loadProject(project_uri)
else:
self.app.project_manager.newBlankProject(ignore_unsaved_changes=True)
self.app.project_manager.newBlankProject()
self.app.project_manager.current_project.connect(
"loaded", self.projectLoadedCb)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment