From 1201caf8a41d106b07593c010cb91ecc0e08b3a0 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sat, 15 Jan 2011 15:31:01 +0100
Subject: Use JsonObject for LdDiagramObject parameters.
Make LdDiagramObject a regular class.
---
src/ld-window-main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'src')
diff --git a/src/ld-window-main.c b/src/ld-window-main.c
index 56ab59a..f6c7cee 100644
--- a/src/ld-window-main.c
+++ b/src/ld-window-main.c
@@ -844,7 +844,8 @@ on_canvas_button_release (GtkWidget *widget, GdkEventButton *event,
klass = g_build_path (LD_LIBRARY_IDENTIFIER_SEPARATOR,
category_name, symbol_name, NULL);
- symbol = ld_diagram_symbol_new (klass);
+ symbol = ld_diagram_symbol_new (NULL);
+ ld_diagram_symbol_set_class (symbol, klass);
g_free (klass);
ld_canvas_add_object_begin (self->priv->canvas,
--
cgit v1.2.3-70-g09d2