]> granicus.if.org Git - graphviz/commitdiff
Replace two low-level gvc functions with the appropriate high-level function.
authorEmden R. Gansner <erg@alum.mit.edu>
Fri, 29 Nov 2013 17:39:09 +0000 (12:39 -0500)
committerEmden R. Gansner <erg@alum.mit.edu>
Fri, 29 Nov 2013 17:39:09 +0000 (12:39 -0500)
cmd/tools/gvpack.c

index 91d7e44cd9e33bde1b3c0d2b1467f2e107eccb3c..75127bd2e1ad5a6f8cbe1d8d8abd325e176cca40 100644 (file)
@@ -877,8 +877,7 @@ int main(int argc, char *argv[])
 
     doPack = (pinfo.mode != l_undef);
 
-    gvc = gvNEWcontext(lt_preloaded_symbols, DEMAND_LOADING);
-    gvconfig(gvc, FALSE); /* configure for available plugins */
+    gvc = gvContextPlugins(lt_preloaded_symbols, DEMAND_LOADING);
     gs = readGraphs(&cnt, gvc);
     if (cnt == 0)
        exit(0);