[gegl] gegl: stop including full C sources of ops
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl: stop including full C sources of ops
- Date: Sun, 30 Apr 2017 21:13:28 +0000 (UTC)
commit 03ac57d8d370b723acbc9d5c1c32ca549bfc84c4
Author: Øyvind Kolås <pippin gimp org>
Date: Sun Apr 30 23:10:32 2017 +0200
gegl: stop including full C sources of ops
More than 2/3 of the filesize of the .so was these sources, this slims down the
binary install and slightly speeds up first launch time.
gegl/gegl-op.h | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/gegl/gegl-op.h b/gegl/gegl-op.h
index 211eb12..eb5fac2 100644
--- a/gegl/gegl-op.h
+++ b/gegl/gegl-op.h
@@ -29,9 +29,6 @@
#define GEGL_HEADER(x) _GEGL_HEADER(x)
#define GEGL_OP_C_FILE GEGL_HEADER(GEGL_OP_C_SOURCE)
-#ifndef GEGL_OP_NO_SOURCE
-#define GEGL_OP_C_FILE_SOURCE GEGL_HEADER(GEGL_OP_C_SOURCE.h)
-#endif
#endif
#ifndef GEGL_OP_NAME
@@ -297,10 +294,6 @@ gegl_module_register (GTypeModule *module)
#undef enum_value
#undef enum_end
-#ifdef GEGL_OP_C_FILE_SOURCE
-#include GEGL_OP_C_FILE_SOURCE
-#endif
-
#ifdef GETTEXT_PACKAGE
static const gchar *gegl_op_gettext_package G_GNUC_UNUSED = GETTEXT_PACKAGE;
#else
@@ -872,13 +865,6 @@ gegl_op_class_intern_init (gpointer klass)
gboolean G_GNUC_UNUSED ui_digits_set = FALSE;
GParamFlags flags G_GNUC_UNUSED = (GParamFlags)(G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
GEGL_PARAM_PAD_INPUT);
-#ifdef GEGL_OP_C_FILE_SOURCE
- GeglOperationClass *operation_class = GEGL_OPERATION_CLASS (klass);
- gegl_operation_class_set_keys (operation_class,
- "source", op_c_source,
- NULL);
-#endif
-
object_class->set_property = set_property;
object_class->get_property = get_property;
object_class->constructor = gegl_op_constructor;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]