[gegl] gegl: don't export _get_type() symbols from gegl-op.h generated modules
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl: don't export _get_type() symbols from gegl-op.h generated modules
- Date: Sun, 25 May 2014 23:48:48 +0000 (UTC)
commit e400a3f60b11979ef02757e49708a6234e5363a1
Author: Michael Natterer <mitch gimp org>
Date: Mon May 26 01:45:47 2014 +0200
gegl: don't export _get_type() symbols from gegl-op.h generated modules
gegl/gegl-op.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gegl/gegl-op.h b/gegl/gegl-op.h
index d34cc0d..b992f1c 100644
--- a/gegl/gegl-op.h
+++ b/gegl/gegl-op.h
@@ -44,7 +44,7 @@
G_BEGIN_DECLS
-GType gegl_op_get_type (void);
+static GType gegl_op_get_type (void) G_GNUC_UNUSED;
typedef struct _GeglProperties GeglProperties;
typedef struct _GeglOp GeglOp;
@@ -65,7 +65,7 @@ static void type_name##_class_chant_intern_init (gpointer klass) \
gegl_op_class_intern_init (klass); \
type_name##_class_init ((TypeName##Class*) klass); \
} \
-GType \
+static GType \
type_name##_get_type (void) \
{ \
return type_name##_type_id; \
@@ -273,8 +273,8 @@ static const gchar *gegl_op_gettext_package G_GNUC_UNUSED = NULL;
#endif
#define enum_start(enum_name) \
-GType enum_name ## _get_type (void) G_GNUC_CONST; \
-GType enum_name ## _get_type (void) \
+static GType enum_name ## _get_type (void) G_GNUC_CONST; \
+static GType enum_name ## _get_type (void) \
{ \
static GType etype = 0; \
if (etype == 0) { \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]