diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-03-06 20:54:48 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:17 +0100 |
commit | 357169831ef519851242ee1b9f54843058978152 (patch) | |
tree | 05ad592ad502aa83353f707a6fe89f851af7df07 | |
parent | 1eed22ddf6c38b248c09b8d78b7677981f19fe5f (diff) |
Remove unused bits
-rw-r--r-- | src/dw-hdfsee.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c index abf81e8f..61eab6a8 100644 --- a/src/dw-hdfsee.c +++ b/src/dw-hdfsee.c @@ -331,7 +331,6 @@ static gboolean displaywindow_expose(GtkWidget *da, GdkEventExpose *event, static int write_png(const char *filename, DisplayWindow *dw) { cairo_status_t r; - cairo_t *cr; cairo_surface_t *surf; surf = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, @@ -342,9 +341,6 @@ static int write_png(const char *filename, DisplayWindow *dw) r = cairo_surface_write_to_png(surf, filename); if ( r != CAIRO_STATUS_SUCCESS ) return 1; - cairo_destroy(cr); - cairo_surface_destroy(surf); - return 0; } |