[gegl] introspection: Don't depend on Babl
- From: Jon Nordby <jonnor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] introspection: Don't depend on Babl
- Date: Mon, 19 Nov 2012 16:31:44 +0000 (UTC)
commit 7dcbb7321357166d36a9bf379efde7ad87fc4c17
Author: Jon Nordby <jononor gmail com>
Date: Mon Nov 19 18:07:18 2012 +0100
introspection: Don't depend on Babl
Babl is not introspection friendly, just skip the API
that depends on Babl in the GI bindings.
gegl/Makefile.am | 2 +-
gegl/buffer/gegl-buffer-iterator.h | 6 ++----
gegl/buffer/gegl-buffer.h | 16 ++++++++--------
gegl/gegl.deps.in | 1 -
gegl/gegl.h | 2 +-
5 files changed, 12 insertions(+), 15 deletions(-)
---
diff --git a/gegl/Makefile.am b/gegl/Makefile.am
index 0bb6f69..601cade 100644
--- a/gegl/Makefile.am
+++ b/gegl/Makefile.am
@@ -119,7 +119,7 @@ introspection_sources = \
INCLUDES = $(AM_CFLAGS) $(AM_CPPFLAGS)
Gegl- GEGL_API_VERSION@.gir: libgegl- GEGL_API_VERSION@.la Makefile
-Gegl_ GEGL_MAJOR_VERSION@_ GEGL_MINOR_VERSION@_gir_INCLUDES = GObject-2.0 GLib-2.0 Babl-0.1
+Gegl_ GEGL_MAJOR_VERSION@_ GEGL_MINOR_VERSION@_gir_INCLUDES = GObject-2.0 GLib-2.0
Gegl_ GEGL_MAJOR_VERSION@_ GEGL_MINOR_VERSION@_gir_CFLAGS = $(INCLUDES)
Gegl_ GEGL_MAJOR_VERSION@_ GEGL_MINOR_VERSION@_gir_LIBS = libgegl- GEGL_API_VERSION@.la
Gegl_ GEGL_MAJOR_VERSION@_ GEGL_MINOR_VERSION@_gir_FILES = $(introspection_sources)
diff --git a/gegl/buffer/gegl-buffer-iterator.h b/gegl/buffer/gegl-buffer-iterator.h
index 70845cb..bbc8428 100644
--- a/gegl/buffer/gegl-buffer-iterator.h
+++ b/gegl/buffer/gegl-buffer-iterator.h
@@ -45,7 +45,7 @@ typedef struct GeglBufferIterator
/**
- * gegl_buffer_iterator_new:
+ * gegl_buffer_iterator_new: (skip)
* @buffer: a #GeglBuffer
* @roi: the rectangle to iterate over
* @level: the level at which we are iterating, the roi will indicate the
@@ -73,7 +73,7 @@ GeglBufferIterator * gegl_buffer_iterator_new (GeglBuffer *buffer,
/**
- * gegl_buffer_iterator_add:
+ * gegl_buffer_iterator_add: (skip)
* @iterator: a #GeglBufferIterator
* @buffer: a #GeglBuffer
* @roi: the rectangle to iterate over
@@ -123,8 +123,6 @@ void gegl_buffer_iterator_stop (GeglBufferIterator *iterator);
*/
gboolean gegl_buffer_iterator_next (GeglBufferIterator *iterator);
-/**
- */
#ifdef EXAMPLE
diff --git a/gegl/buffer/gegl-buffer.h b/gegl/buffer/gegl-buffer.h
index 1c47fd0..0d2d507 100644
--- a/gegl/buffer/gegl-buffer.h
+++ b/gegl/buffer/gegl-buffer.h
@@ -48,7 +48,7 @@ typedef struct _GeglSampler GeglSampler;
GType gegl_buffer_get_type (void) G_GNUC_CONST;
/**
- * gegl_buffer_new:
+ * gegl_buffer_new: (skip)
* @extent: the geometry of the buffer (origin, width and height) a
* GeglRectangle.
* @format: the Babl pixel format to be used, create one with babl_format("RGBA
@@ -238,7 +238,7 @@ gboolean gegl_buffer_set_abyss (GeglBuffer *buffer,
#endif
/**
- * gegl_buffer_get:
+ * gegl_buffer_get: (skip)
* @buffer: the buffer to retrieve data from.
* @rect: the coordinates we want to retrieve data from, and width/height of
* destination buffer, if NULL equal to the extent of the buffer. The
@@ -336,7 +336,7 @@ const Babl * gegl_buffer_get_format (GeglBuffer *buffer);
/**
- * gegl_buffer_set_format:
+ * gegl_buffer_set_format: (skip)
* @buffer: a #GeglBuffer
* @format: the new babl format, must have same bpp as original format.
*
@@ -395,7 +395,7 @@ GeglBuffer * gegl_buffer_dup (GeglBuffer *buffer);
/**
- * gegl_buffer_sample:
+ * gegl_buffer_sample: (skip)
* @buffer: the GeglBuffer to sample from
* @x: x coordinate to sample in buffer coordinates
* @y: y coordinate to sample in buffer coordinates
@@ -450,7 +450,7 @@ void gegl_buffer_sample_cleanup (GeglBuffer *buffer);
GeglSamplerType gegl_sampler_type_from_string (const gchar *string);
/**
- * gegl_buffer_sampler_new:
+ * gegl_buffer_sampler_new: (skip)
* @buffer: buffer to create a new sampler for
* @format: format we want data back in
* @sampler_type: the sampler type to use,
@@ -495,7 +495,7 @@ void gegl_sampler_get (GeglSampler *sampler,
const GeglRectangle * gegl_sampler_get_context_rect (GeglSampler *sampler);
/**
- * gegl_buffer_linear_new:
+ * gegl_buffer_linear_new: (skip)
* @extent: dimensions of buffer.
* @format: desired pixel format.
*
@@ -509,7 +509,7 @@ GeglBuffer * gegl_buffer_linear_new (const GeglRectangle *extent,
const Babl *format);
/**
- * gegl_buffer_linear_new_from_data:
+ * gegl_buffer_linear_new_from_data: (skip)
* @data: a pointer to a linear buffer in memory.
* @format: the format of the data in memory
* @extent: the dimensions (and upper left coordinates) of linear buffer.
@@ -534,7 +534,7 @@ GeglBuffer * gegl_buffer_linear_new_from_data (const gpointer data,
gpointer destroy_fn_data);
/**
- * gegl_buffer_linear_open:
+ * gegl_buffer_linear_open: (skip)
* @buffer: a #GeglBuffer.
* @extent: region to open, pass NULL for entire buffer.
* @rowstride: return location for rowstride.
diff --git a/gegl/gegl.deps.in b/gegl/gegl.deps.in
index a0af5ae..e69de29 100644
--- a/gegl/gegl.deps.in
+++ b/gegl/gegl.deps.in
@@ -1 +0,0 @@
-babl-0.1
diff --git a/gegl/gegl.h b/gegl/gegl.h
index 2dbab68..c471972 100644
--- a/gegl/gegl.h
+++ b/gegl/gegl.h
@@ -396,7 +396,7 @@ void gegl_node_get_valist (GeglNode *node,
*/
/**
- * gegl_node_blit:
+ * gegl_node_blit: (skip)
* @node: a #GeglNode
* @scale: the scale to render at 1.0 is default, other values changes the
* width/height of the sampled region.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]