summaryrefslogtreecommitdiff
path: root/src/ld-symbol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ld-symbol.c')
-rw-r--r--src/ld-symbol.c24
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.