summaryrefslogtreecommitdiff
path: root/gui/render.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-15 13:06:26 -0300
committerWerner Almesberger <werner@almesberger.net>2016-10-15 14:32:02 -0300
commitbe0bd33447caa04c8079ab8d6f048264cc081105 (patch)
tree399246c2891d2e21047999244811fd84e72b1d46 /gui/render.c
parent41ee777fb5d88b523636ec52ba04ffb0a843d06d (diff)
downloadeeshow-be0bd33447caa04c8079ab8d6f048264cc081105.tar.gz
eeshow-be0bd33447caa04c8079ab8d6f048264cc081105.tar.bz2
eeshow-be0bd33447caa04c8079ab8d6f048264cc081105.zip
gui/pop.c: separate general pop-up functions from glabel.c
... for upcoming sharing.
Diffstat (limited to 'gui/render.c')
-rw-r--r--gui/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/render.c b/gui/render.c
index a70fbf6..2348d07 100644
--- a/gui/render.c
+++ b/gui/render.c
@@ -217,8 +217,8 @@ static gboolean on_draw_event(GtkWidget *widget, cairo_t *cr,
overlay_draw_all_d(gui->pop_underlays, cr, gui->pop_x, gui->pop_y,
gui->pop_dx, gui->pop_dy);
overlay_draw_all_d(gui->pop_overlays, cr,
- gui->pop_x + gui->pop_dx * GLABEL_STACK_PADDING,
- gui->pop_y + gui->pop_dy * GLABEL_STACK_PADDING,
+ gui->pop_x + gui->pop_dx * POP_STACK_PADDING,
+ gui->pop_y + gui->pop_dy * POP_STACK_PADDING,
gui->pop_dx, gui->pop_dy);
switch (gui->mode) {