output: Make groups contain their subitems, and get rid of spv_item.
[pspp] / src / output / tex.c
index b9a90df2d78a3850354495c0177efcca3a792dd0..254d6a686183e64b9ebc60b76e301eb1995bc371 100644 (file)
@@ -328,11 +328,8 @@ tex_submit (struct output_driver *driver, const struct output_item *item)
         }
       break;
 
-    case OUTPUT_ITEM_GROUP_OPEN:
-      break;
-
-    case OUTPUT_ITEM_GROUP_CLOSE:
-      break;
+    case OUTPUT_ITEM_GROUP:
+      NOT_REACHED ();
 
     case OUTPUT_ITEM_IMAGE:
       {
@@ -614,8 +611,7 @@ struct output_driver_factory tex_driver_factory =
 
 static const struct output_driver_class tex_driver_class =
   {
-    "tex",
-    tex_destroy,
-    tex_submit,
-    NULL,
+    .name = "tex",
+    .destroy = tex_destroy,
+    .submit = tex_submit,
   };