[cogl/lionel/introspection-next: 29/44] snippet: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 29/44] snippet: add introspection support
- Date: Sun, 9 Feb 2014 21:18:19 +0000 (UTC)
commit 1b6dc4c25728b6fdd18a099369c566110e575c1c
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Tue Sep 3 16:15:41 2013 +0100
snippet: add introspection support
cogl/cogl-snippet.c | 2 ++
cogl/cogl-snippet.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-snippet.c b/cogl/cogl-snippet.c
index 25c1a0a..7a16d1e 100644
--- a/cogl/cogl-snippet.c
+++ b/cogl/cogl-snippet.c
@@ -32,11 +32,13 @@
#include "cogl-types.h"
#include "cogl-snippet-private.h"
#include "cogl-util.h"
+#include "cogl-gtype-private.h"
static void
_cogl_snippet_free (CoglSnippet *snippet);
COGL_OBJECT_DEFINE (Snippet, snippet);
+COGL_GTYPE_DEFINE_CLASS (Snippet, snippet);
CoglSnippet *
cogl_snippet_new (CoglSnippetHook hook,
diff --git a/cogl/cogl-snippet.h b/cogl/cogl-snippet.h
index 120a9be..d135605 100644
--- a/cogl/cogl-snippet.h
+++ b/cogl/cogl-snippet.h
@@ -335,6 +335,8 @@ typedef struct _CoglSnippet CoglSnippet;
#define COGL_SNIPPET(OBJECT) ((CoglSnippet *)OBJECT)
+COGL_GTYPE_DECLARE_TYPE (snippet);
+
/* Enumeration of all the hook points that a snippet can be attached
to within a pipeline. */
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]