]> granicus.if.org Git - graphviz/commitdiff
consolidating file output into gvdevice framework
authorellson <devnull@localhost>
Wed, 3 Oct 2007 16:59:11 +0000 (16:59 +0000)
committerellson <devnull@localhost>
Wed, 3 Oct 2007 16:59:11 +0000 (16:59 +0000)
plugin/devil/gvdevice_devil.c
plugin/gd/gvdevice_gd.c
plugin/gdk_pixbuf/gvdevice_gdk_pixbuf.c

index 46b2a4eeb2409e0d5c10b2252f514c88576f1801..5173d350a76687967a1840bcb98f360e2b886112 100644 (file)
@@ -84,10 +84,9 @@ static void devil_format(GVJ_t * job)
 }
 
 static gvdevice_engine_t devil_engine = {
-    NULL,
-    NULL,
+    NULL,              /* devil_initialize */
     devil_format,
-    NULL,
+    NULL,              /* devil_finalize */
 };
 
 static gvdevice_features_t device_features_devil = {
index b5ac9dbb0b451144f735781b90c0c9277386baa9..f5b3c59fa6a24138e47582e26ba1ff78bc62615c 100644 (file)
@@ -123,10 +123,9 @@ static void gd_format(GVJ_t * job)
 }
 
 static gvdevice_engine_t gd_engine = {
-    NULL,
-    NULL,
+    NULL,              /* gd_initialize */
     gd_format,
-    NULL,
+    NULL,              /* gd_finalize */
 };
 
 static gvdevice_features_t device_features_gd = {
index 3027b178a4fbb69e13d68708c17ee74bde4fb156..b47b2035609cefc8962d8bfa2244e1f666d23a6a 100644 (file)
@@ -110,10 +110,9 @@ static void gdk_pixbuf_format(GVJ_t * job)
 }
 
 static gvdevice_engine_t gdk_pixbuf_engine = {
-    NULL,
-    NULL,
+    NULL,              /* gdk_pixbuf_initialize */
     gdk_pixbuf_format,
-    NULL,
+    NULL,              /* gdk_pixbuf_finalize */
 };
 
 static gvdevice_features_t device_features_gdk_pixbuf = {