[Bug 399988] Exits without any appropriate error message or exit code if image is not accessible

EOG (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jan 24 02:34:54 CET 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=399988

  EOG | general | Ver: 2.16.x





------- Comment #2 from Claudio Saavedra  2007-01-24 01:33 UTC -------
The reason is that when an image is not correctly loaded, for some reason,
somebody thought it would be a good idea to simply call gtk_main_quit (). See
the following code fragment:

static void
job_prepare_model_finished (EogJob *job, gpointer data, GError *error)
{
        LoadContext *ctx = (LoadContext*) data;

        if (eog_job_get_status (job) == EOG_JOB_STATUS_FINISHED &&
                eog_job_get_success (job))
        {
                g_object_ref (ctx->img_list);

                assign_model_to_window (ctx->window, ctx->img_list);
        } 
        else {
                g_error_free (error);
                gtk_main_quit ();
        }
}

I'll cook a fix for this. I'm really surprised by this.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



More information about the Pkg-gnome-maintainers mailing list