[gegl-gtk] operations: Use gegl-gtk$version: prefix in operation names



commit 9da79c92cc473661c4e29dd5290720c45b83e77b
Author: Jon Nordby <jononor gmail com>
Date:   Mon Jun 27 18:55:02 2011 +0200

    operations: Use gegl-gtk$version: prefix in operation names

 operations/gegl-gtk-display.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/operations/gegl-gtk-display.c b/operations/gegl-gtk-display.c
index fabcf9f..5019c65 100644
--- a/operations/gegl-gtk-display.c
+++ b/operations/gegl-gtk-display.c
@@ -229,7 +229,11 @@ gegl_chant_class_init (GeglChantClass *klass)
   sink_class->process = process;
   G_OBJECT_CLASS (klass)->dispose = dispose;
 
-  operation_class->name        = "gegl:gtk-display";
+#ifdef HAVE_GTK2
+  operation_class->name        = "gegl-gtk2:display";
+#else
+  operation_class->name        = "gegl-gtk3:display";
+#endif
   operation_class->categories  = "output";
   operation_class->description =
         _("Displays the input buffer in an GTK window .");



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