[gegl] operations: Use gegl_operation_class_set_keys() in v4l so it builds



commit 839e43e33ae81a2c0f424bdaf92e6775e75b5e3e
Author: Martin Nordholts <martinn src gnome org>
Date:   Sat Mar 31 21:33:18 2012 +0200

    operations: Use gegl_operation_class_set_keys() in v4l so it builds

 operations/external/v4l.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/operations/external/v4l.c b/operations/external/v4l.c
index deead04..fc75ac5 100644
--- a/operations/external/v4l.c
+++ b/operations/external/v4l.c
@@ -316,10 +316,11 @@ gegl_chant_class_init (GeglChantClass *klass)
   operation_class->get_cached_region = get_cached_region;
   operation_class->prepare          = prepare;
 
-  operation_class->name        = "gegl:v4l";
-  operation_class->categories  = "input:video";
-  operation_class->description =
-    _("Video4Linux input, webcams framegrabbers and similar devices.");
+  gegl_operation_class_set_keys (operation_class,
+    "name"        , "gegl:v4l",
+    "categories"  , "input:video",
+    "description" , _("Video4Linux input, webcams framegrabbers and similar devices."),
+    NULL);
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]