aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2011-01-15 15:31:01 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2011-01-15 17:59:07 +0100
commit1201caf8a41d106b07593c010cb91ecc0e08b3a0 (patch)
treef8ffb38da963a30a9e5031860c9759a6389036ce /src
parent9c5ade156a4266ce599d3163657d18a0f604e997 (diff)
downloadlogdiag-1201caf8a41d106b07593c010cb91ecc0e08b3a0.tar.gz
logdiag-1201caf8a41d106b07593c010cb91ecc0e08b3a0.tar.xz
logdiag-1201caf8a41d106b07593c010cb91ecc0e08b3a0.zip
Use JsonObject for LdDiagramObject parameters.
Make LdDiagramObject a regular class.
Diffstat (limited to 'src')
-rw-r--r--src/ld-window-main.c3
1 files changed, 2 insertions, 1 deletions
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,