summaryrefslogtreecommitdiff
path: root/image/png.h
diff options
context:
space:
mode:
Diffstat (limited to 'image/png.h')
-rw-r--r--image/png.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/image/png.h b/image/png.h
index 4c5b1bed3..ffabd73b9 100644
--- a/image/png.h
+++ b/image/png.h
@@ -24,7 +24,7 @@
#ifdef WITH_PNG
-#include "css/css.h"
+#include "desktop/plot_style.h"
#include <stdbool.h>
#include <png.h>
@@ -42,7 +42,8 @@ struct content_png_data {
size_t rowbytes; /**< Number of bytes per row */
};
-bool nspng_create(struct content *c, const char *params[]);
+bool nspng_create(struct content *c, struct content *parent,
+ const char *params[]);
bool nspng_process_data(struct content *c, char *data, unsigned int size);
bool nspng_convert(struct content *c, int width, int height);
void nspng_destroy(struct content *c);