From e0e63649dc830cd63ae4e7a958e224ef3b2a1375 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Thu, 30 Sep 2010 05:19:31 +0200 Subject: Redesign the library and related components. This step is needed, since the current design is quite chaotic and it would not be possible to finish the application. There's still a lot to be done. After this step, it's time to implement the rest of LdLua. --- src/ld-symbol.c | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) (limited to 'src/ld-symbol.c') diff --git a/src/ld-symbol.c b/src/ld-symbol.c index 9dc4394..0c79d23 100644 --- a/src/ld-symbol.c +++ b/src/ld-symbol.c @@ -12,9 +12,9 @@ #include "config.h" -#include "ld-library.h" -#include "ld-symbol-category.h" #include "ld-symbol.h" +#include "ld-symbol-category.h" +#include "ld-library.h" /** @@ -28,12 +28,11 @@ /* * LdSymbolPrivate: - * @parent: The parent LdSymbolCategory. It is used to identify - * the object within it's library. + * @name: The name of this symbol. */ struct _LdSymbolPrivate { - LdSymbolCategory *parent; + gchar *name; }; G_DEFINE_ABSTRACT_TYPE (LdSymbol, ld_symbol, G_TYPE_OBJECT); @@ -65,26 +64,11 @@ ld_symbol_finalize (GObject *gobject) LdSymbol *self; self = LD_SYMBOL (gobject); - g_object_unref (self->priv->parent); /* Chain up to the parent class. */ G_OBJECT_CLASS (ld_symbol_parent_class)->finalize (gobject); } -/** - * ld_symbol_build_identifier: - * @self: A symbol object. - * - * Build an identifier for the symbol. - * The identifier is in the format "Category/Category/Symbol". - */ -gchar * -ld_symbol_build_identifier (LdSymbol *self) -{ - /* TODO: Implement. */ - return NULL; -} - /** * ld_symbol_draw: * @self: A symbol object. -- cgit v1.2.3