aboutsummaryrefslogtreecommitdiff
path: root/src/ld-lua.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2011-01-08 06:44:40 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2011-01-08 09:01:33 +0100
commit96f7710c25d296983649551ed2e0dc44db9614fb (patch)
tree4741fa11c73ffeb8dfbc2431bfdeaa1b9d509456 /src/ld-lua.c
parent0b3f6503bbe38a129f1f9395c0d3924c4ad87185 (diff)
downloadlogdiag-96f7710c25d296983649551ed2e0dc44db9614fb.tar.gz
logdiag-96f7710c25d296983649551ed2e0dc44db9614fb.tar.xz
logdiag-96f7710c25d296983649551ed2e0dc44db9614fb.zip
Introduce LdRectangle, LdPoint and LdPointArray.
Remove LdCanvasRect and LdSymbolArea.
Diffstat (limited to 'src/ld-lua.c')
-rw-r--r--src/ld-lua.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ld-lua.c b/src/ld-lua.c
index 4cab71c..746d2f9 100644
--- a/src/ld-lua.c
+++ b/src/ld-lua.c
@@ -15,6 +15,7 @@
#include "config.h"
+#include "ld-types.h"
#include "ld-symbol.h"
#include "ld-library.h"
@@ -90,7 +91,7 @@ static int ld_lua_private_unregister_cb (lua_State *L);
static int ld_lua_logdiag_register (lua_State *L);
static int process_registration (lua_State *L);
static gchar *get_translation (lua_State *L, int index);
-static gboolean read_symbol_area (lua_State *L, int index, LdSymbolArea *area);
+static gboolean read_symbol_area (lua_State *L, int index, LdRectangle *area);
static void push_cairo_object (lua_State *L, LdLuaDrawData *draw_data);
static gdouble get_cairo_scale (cairo_t *cr);
@@ -528,7 +529,7 @@ get_translation (lua_State *L, int index)
* Return value: TRUE on success, FALSE on failure.
*/
static gboolean
-read_symbol_area (lua_State *L, int index, LdSymbolArea *area)
+read_symbol_area (lua_State *L, int index, LdRectangle *area)
{
lua_Number x1, x2, y1, y2;