From: Carlos Garcia Campos Date: Thu, 29 May 2008 17:04:08 +0000 (+0000) Subject: Fix a crash in debug mode. Patch by Daniel M German. X-Git-Tag: EVINCE_2_23_4~7 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=d02938b2e9d793cdba49796e6af7a28cf7d29880;p=evince.git Fix a crash in debug mode. Patch by Daniel M German. 2008-05-29 Carlos Garcia Campos * shell/ev-jobs.c: (ev_job_render_dispose): Fix a crash in debug mode. Patch by Daniel M German. svn path=/trunk/; revision=3047 --- diff --git a/ChangeLog b/ChangeLog index 274f7462..893cb951 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-05-29 Carlos Garcia Campos + + * shell/ev-jobs.c: (ev_job_render_dispose): + + Fix a crash in debug mode. Patch by Daniel M German. + 2008-05-25 Carlos Garcia Campos * shell/ev-window.c: diff --git a/shell/ev-jobs.c b/shell/ev-jobs.c index 5e572c74..af6ead0f 100644 --- a/shell/ev-jobs.c +++ b/shell/ev-jobs.c @@ -131,9 +131,8 @@ ev_job_render_dispose (GObject *object) job = EV_JOB_RENDER (object); - ev_debug_message (DEBUG_JOBS, "page: %d", job->ev_page->index); - if (job->ev_page) { + ev_debug_message (DEBUG_JOBS, "page: %d", job->ev_page->index); g_object_unref (job->ev_page); job->ev_page = NULL; }