trying to retain old cairo surface...
authorellson <devnull@localhost>
Tue, 18 Oct 2005 19:04:42 +0000 (19:04 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 19:04:42 +0000 (19:04 +0000)
lib/gvc/gvevent.c

index 5c361fcbacd08735f69c70a51ef0abfbe173c1cc..4005525dc2721a57e9e8f221b78a28e6234c5a10 100644 (file)
@@ -555,13 +555,11 @@ static void gvevent_read (GVJ_t * job, char *filename, char *layout)
                return;   /* FIXME - need some error handling */
        gvc->g = agread(f);
        fclose(f);
-       job->output_filename = filename;
     }
     GD_gvc(gvc->g) = gvc;
     gvLayout(gvc, gvc->g, layout);
     job->selected_obj = NULL;
     job->current_obj = NULL;
-    job->surface = NULL;
     job->needs_refresh = 1;
 }