]> www.fi.muni.cz Git - evince.git/commitdiff
Fix a crash in debug mode. Patch by Daniel M German.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Thu, 29 May 2008 17:04:08 +0000 (17:04 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Thu, 29 May 2008 17:04:08 +0000 (17:04 +0000)
2008-05-29  Carlos Garcia Campos  <carlosgc@gnome.org>

* shell/ev-jobs.c: (ev_job_render_dispose):

Fix a crash in debug mode. Patch by Daniel M German.

svn path=/trunk/; revision=3047

ChangeLog
shell/ev-jobs.c

index 274f7462745ff95daba923a76c9656d39b94dc9a..893cb951febbdc6d6c012769378599afe2d11c6a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-05-29  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * 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  <carlosgc@gnome.org>
 
        * shell/ev-window.c:
index 5e572c74ca20237e56a5ce29a6c548f2ec1094cf..af6ead0fa56b2488936f8466c5286114e6346c2f 100644 (file)
@@ -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;
        }