[gegl] Rename gegl:display to gegl:sdl-display
- From: Jon Nordby <jonnor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Rename gegl:display to gegl:sdl-display
- Date: Tue, 19 Jul 2011 22:39:23 +0000 (UTC)
commit 8229157e83461e320234fb0e046a90af0258142d
Author: Jon Nordby <jononor gmail com>
Date: Tue Jul 19 22:38:00 2011 +0200
Rename gegl:display to gegl:sdl-display
operations/external/Makefile.am | 6 +++---
operations/external/{display.c => sdl-display.c} | 9 ++++-----
2 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/operations/external/Makefile.am b/operations/external/Makefile.am
index 3663a3c..815d16c 100644
--- a/operations/external/Makefile.am
+++ b/operations/external/Makefile.am
@@ -74,9 +74,9 @@ exr_save_la_CXXFLAGS = $(AM_CFLAGS) $(OPENEXR_CFLAGS)
endif
if HAVE_SDL
-ops += display.la
-display_la_LIBADD = $(op_libs) $(SDL_LIBS)
-display_la_CFLAGS = $(AM_CFLAGS) $(SDL_CFLAGS)
+ops += sdl-display.la
+sdl_display_la_LIBADD = $(op_libs) $(SDL_LIBS)
+sdl_display_la_CFLAGS = $(AM_CFLAGS) $(SDL_CFLAGS)
endif
if HAVE_OPENRAW
diff --git a/operations/external/display.c b/operations/external/sdl-display.c
similarity index 96%
rename from operations/external/display.c
rename to operations/external/sdl-display.c
index c73c457..dfde21f 100644
--- a/operations/external/display.c
+++ b/operations/external/sdl-display.c
@@ -36,7 +36,7 @@ gegl_chant_int(height, "", 0, 1000, 0, "private")
#else
#define GEGL_CHANT_TYPE_SINK
-#define GEGL_CHANT_C_FILE "display.c"
+#define GEGL_CHANT_C_FILE "sdl-display.c"
#include "gegl-chant.h"
#include <SDL.h>
@@ -172,11 +172,10 @@ gegl_chant_class_init (GeglChantClass *klass)
sink_class->process = process;
sink_class->needs_full = TRUE;
- operation_class->name = "gegl:display";
- operation_class->categories = "output";
+ operation_class->name = "gegl:sdl-display";
+ operation_class->categories = "display";
operation_class->description =
_("Displays the input buffer in an SDL window (restricted to one"
- " display op/process, due to SDL implementation issues, a gtk+"
- " based replacement would be nice.");
+ " display op/process, due to SDL implementation issues).");
}
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]