[gegl] gegl: add back stubs for gegl_operation_meta_watch*
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl: add back stubs for gegl_operation_meta_watch*
- Date: Wed, 20 May 2020 16:23:14 +0000 (UTC)
commit 7a00a24d43a9eb2b98d82d64c19cf8937224517f
Author: Øyvind Kolås <pippin gimp org>
Date: Wed May 20 18:20:11 2020 +0200
gegl: add back stubs for gegl_operation_meta_watch*
These do nothing, by having the stub there the code continues working
but warns at both compile and run-time.
gegl/operation/gegl-operation-meta.c | 16 ++++++++++++++++
gegl/operation/gegl-operation-meta.h | 13 +++++++++++++
2 files changed, 29 insertions(+)
---
diff --git a/gegl/operation/gegl-operation-meta.c b/gegl/operation/gegl-operation-meta.c
index 4af2d2df1..15d1c5749 100644
--- a/gegl/operation/gegl-operation-meta.c
+++ b/gegl/operation/gegl-operation-meta.c
@@ -72,3 +72,19 @@ gegl_operation_meta_redirect (GeglOperation *operation,
GeglOperation *internal_operation = gegl_node_get_gegl_operation (internal);
g_object_bind_property (operation, name, internal_operation, internal_name, G_BINDING_SYNC_CREATE);
}
+
+void
+gegl_operation_meta_watch_node (GeglOperation *operation,
+ GeglNode *node)
+{
+ g_warning ("%s does nothing\n", __FUNCTION__);
+}
+
+G_DEPRECATED
+void
+gegl_operation_meta_watch_nodes (GeglOperation *operation,
+ GeglNode *node,
+ ...)
+{
+ g_warning ("%s does nothing\n", __FUNCTION__);
+}
diff --git a/gegl/operation/gegl-operation-meta.h b/gegl/operation/gegl-operation-meta.h
index b849af88f..ab3e2e851 100644
--- a/gegl/operation/gegl-operation-meta.h
+++ b/gegl/operation/gegl-operation-meta.h
@@ -60,6 +60,19 @@ void gegl_operation_meta_redirect (GeglOperation *operation,
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GeglOperationMeta, g_object_unref)
+G_DEPRECATED
+void gegl_operation_meta_watch_node (GeglOperation *operation,
+ GeglNode *node);
+
+G_DEPRECATED
+void gegl_operation_meta_watch_nodes (GeglOperation *operation,
+ GeglNode *node,
+ ...) G_GNUC_NULL_TERMINATED;
+
+
+
+
+
G_END_DECLS
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]