diff options
Diffstat (limited to 'src/draw.c')
| -rw-r--r-- | src/draw.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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); |
