aboutsummaryrefslogtreecommitdiff
path: root/src/ld-symbol.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2010-09-25 16:03:48 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2010-10-17 14:05:53 +0200
commit5da5689541aa5bca6b056a2372bcd3410f6475b2 (patch)
treed1c3e0c866e3f0c6b0efa047737e331beb6a8494 /src/ld-symbol.c
parent25668c20731722316ca78767ca0cddbf04a988a7 (diff)
downloadlogdiag-5da5689541aa5bca6b056a2372bcd3410f6475b2.tar.gz
logdiag-5da5689541aa5bca6b056a2372bcd3410f6475b2.tar.xz
logdiag-5da5689541aa5bca6b056a2372bcd3410f6475b2.zip
WIP: Refactoring of the library and symbols
Diffstat (limited to 'src/ld-symbol.c')
-rw-r--r--src/ld-symbol.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/ld-symbol.c b/src/ld-symbol.c
index 15b9ab5..deab3f5 100644
--- a/src/ld-symbol.c
+++ b/src/ld-symbol.c
@@ -79,13 +79,11 @@ ld_symbol_finalize (GObject *gobject)
*
* Load a symbol from a file into the library.
*/
-LdSymbol *ld_symbol_new (LdSymbolLibrary *library,
- const gchar *filename)
+LdSymbol *ld_symbol_new (LdSymbolLibrary *library)
{
LdSymbol *symbol;
symbol = g_object_new (LD_TYPE_SYMBOL, NULL);
- /* TODO: Use the filename, Luke. */
symbol->priv->library = library;
g_object_ref (library);
@@ -107,17 +105,13 @@ ld_symbol_build_identifier (LdSymbol *self)
/**
* ld_symbol_draw:
* @self: A symbol object.
- * @surface: A cairo surface to be drawn on.
+ * @cr: A cairo surface to be drawn on.
* @param: Parameters for the symbol in a table.
- * @x: The X coordinate on the surface.
- * @y: The Y coordinate on the surface.
- * @zoom: Zoom ratio.
*
* Draw the symbol onto a Cairo surface.
*/
void
-ld_symbol_draw (LdSymbol *self, cairo_t *surface,
- GHashTable *param, gint x, gint y, gdouble zoom)
+ld_symbol_draw (LdSymbol *self, cairo_t *cr, GHashTable *param)
{
return;
}