manager_maybe_stop_job_for_window (GSManager *manager,
                                   GSWindow  *window)
{
        GSJob *job;

        job = lookup_job_for_window (manager, window);

        if (job == NULL) {
                gs_debug ("Job not found for window");
                return;
        }

        gs_job_stop (job);
}
manager_maybe_stop_job_for_window (GSManager *manager,
                                   GSWindow  *window)
{
        GSJob *job;

        job = lookup_job_for_window (manager, window);

        if (job == NULL) {
                gs_debug ("Job not found for window");
                return;
        }

        gs_job_stop (job);
}