aboutsummaryrefslogtreecommitdiff
path: root/src/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/draw.c')
-rw-r--r--src/draw.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/draw.c b/src/draw.c
index 8a2a6bd..d9e999b 100644
--- a/src/draw.c
+++ b/src/draw.c
@@ -12,14 +12,6 @@
// (this will also work for animations in the future)
// or use some flags to trigger drawing
-typedef struct {
- Button *btn;
- int x, y;
- int width, height;
- int text_w, text_h;
- PangoLayout *pl;
-} Layout;
-
static void layout_destroy(Layout *layout)
{
g_object_unref(layout->pl);
@@ -114,7 +106,6 @@ void draw_paint(Drawable *draw, Window *win)
pango_cairo_update_layout(cr, layout->pl);
pango_cairo_show_layout(cr, layout->pl);
-
}
cairo_destroy(cr);