summaryrefslogtreecommitdiff
path: root/liblogdiag/ld-diagram-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'liblogdiag/ld-diagram-object.c')
-rw-r--r--liblogdiag/ld-diagram-object.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/liblogdiag/ld-diagram-object.c b/liblogdiag/ld-diagram-object.c
index 7c83f34..e39f89c 100644
--- a/liblogdiag/ld-diagram-object.c
+++ b/liblogdiag/ld-diagram-object.c
@@ -312,15 +312,6 @@ ld_diagram_object_get_data_default:
g_object_set_property (G_OBJECT (self), name, data);
}
-/* We have to remove it first due to a bug in json-glib. */
-#define json_object_set_member(object, name, node) \
- G_STMT_START \
- { \
- json_object_remove_member (object, name); \
- json_object_set_member (object, name, node); \
- } \
- G_STMT_END
-
/**
* ld_diagram_object_set_data_for_param:
* @self: an #LdDiagramObject object.