From bb82b23a97818a2c0ad2c121eab664a32ce0487c Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 1 Jun 2010 17:53:42 +0100 Subject: [PATCH] cogl-path: Adds missing cogl_is_path prototype This adds a missing cogl_is_path prototype to the public cogl-path.h header. --- clutter/cogl/cogl/cogl-path.h | 12 ++++++++++++ doc/reference/cogl/cogl-sections.txt | 1 + 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/clutter/cogl/cogl/cogl-path.h b/clutter/cogl/cogl/cogl-path.h index aa8bfd2..a0440f2 100644 --- a/clutter/cogl/cogl/cogl-path.h +++ b/clutter/cogl/cogl/cogl-path.h @@ -54,6 +54,18 @@ G_BEGIN_DECLS typedef struct _CoglPath CoglPath; /** + * cogl_is_path: + * @handle: A CoglHandle + * + * Gets whether the given handle references an existing path object. + * + * Return value: %TRUE if the handle references a #CoglPath, + * %FALSE otherwise + */ +gboolean +cogl_is_path (CoglHandle handle); + +/** * cogl_path_fill: * * Fills the interior of the constructed shape using the current diff --git a/doc/reference/cogl/cogl-sections.txt b/doc/reference/cogl/cogl-sections.txt index 755a582..362ac66 100644 --- a/doc/reference/cogl/cogl-sections.txt +++ b/doc/reference/cogl/cogl-sections.txt @@ -154,6 +154,7 @@ cogl_rectangle_with_multitexture_coords cogl_polygon +cogl_is_path cogl_path_new cogl_get_path cogl_set_path -- 1.6.3.3