summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.c b/src/node.c
index 55d8f1e..5a4f727 100644
--- a/src/node.c
+++ b/src/node.c
@@ -198,7 +198,7 @@ ganv_node_get_property(GObject* object,
switch (prop_id) {
GET_CASE(PARTNER, object, impl->partner);
- GET_CASE(LABEL, string, impl->label->impl->text);
+ GET_CASE(LABEL, string, impl->label ? impl->label->impl->text : NULL);
GET_CASE(DASH_LENGTH, double, impl->dash_length);
GET_CASE(DASH_OFFSET, double, impl->dash_offset);
GET_CASE(BORDER_WIDTH, double, impl->border_width);