diff options
| author | Přemysl Janouch <p.janouch@gmail.com> | 2010-09-30 05:19:31 +0200 | 
|---|---|---|
| committer | Přemysl Janouch <p.janouch@gmail.com> | 2010-10-26 13:58:33 +0200 | 
| commit | e0e63649dc830cd63ae4e7a958e224ef3b2a1375 (patch) | |
| tree | bfd6ebef764e0e439b2207d1f9d9ddb09985a0bd /src/ld-symbol.c | |
| parent | 0c9b297e50ffaf9a34f50a99f7bc4e02ea295d1d (diff) | |
| download | logdiag-e0e63649dc830cd63ae4e7a958e224ef3b2a1375.tar.gz logdiag-e0e63649dc830cd63ae4e7a958e224ef3b2a1375.tar.xz logdiag-e0e63649dc830cd63ae4e7a958e224ef3b2a1375.zip  | |
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.
Diffstat (limited to 'src/ld-symbol.c')
| -rw-r--r-- | src/ld-symbol.c | 24 | 
1 files changed, 4 insertions, 20 deletions
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,27 +64,12 @@ 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.   * @cr: A cairo surface to be drawn on.  | 
