]> granicus.if.org Git - graphviz/commitdiff
Call gvdevice_... plugin entry points from emit.c, rather than from another plugin.
authorellson <devnull@localhost>
Thu, 30 Aug 2007 20:59:31 +0000 (20:59 +0000)
committerellson <devnull@localhost>
Thu, 30 Aug 2007 20:59:31 +0000 (20:59 +0000)
Rename job-surface to job->context.
Add job->imagedata.

tclpkg/tcldot/tcldot.c

index 3fa5e2565b53aa847e3b2acd3c4b5161ea46d8b5..aea99010a1658997b8fa2801d536af65cf4e51c2 100644 (file)
@@ -1092,8 +1092,8 @@ static int graphcmd(ClientData clientData, Tcl_Interp * interp,
        }
        job = gvc->job;
 
-       job->surface = (void *)(&tkgendata);
-       job->external_surface = TRUE;
+       job->context = (void *)(&tkgendata);
+       job->external_context = TRUE;
 
        /* make sure that layout is done */
        g = g->root;
@@ -1131,8 +1131,8 @@ static int graphcmd(ClientData clientData, Tcl_Interp * interp,
            Tcl_AppendResult(interp, "GD Image not found.", (char *) NULL);
            return TCL_ERROR;
        }
-       job->surface = *hdl;
-       job->external_surface = TRUE;
+       job->context = *hdl;
+       job->external_context = TRUE;
 
        /* make sure that layout is done */
        g = g->root;