aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/pixmap_save.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-08-14 21:40:25 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-08-14 21:40:25 +0000
commit05178612dee5abf2e00655b69e32f09658625f34 (patch)
treee9d9774bde269ab0cfbf348c956ee9704a775a19 /gtk/pixmap_save.h
parenta17cde69ecf02d30ed345493f91dbbb837ddee7f (diff)
Make save IO graph work, I had to make a local copy of
GTK 3.0 function gdk_pixbuf_get_from_surface() put in gui_util.c svn path=/trunk/; revision=38541
Diffstat (limited to 'gtk/pixmap_save.h')
-rw-r--r--gtk/pixmap_save.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/pixmap_save.h b/gtk/pixmap_save.h
index 700c088976..ec92f4f984 100644
--- a/gtk/pixmap_save.h
+++ b/gtk/pixmap_save.h
@@ -30,4 +30,9 @@
* asking for options to save the graph with (such as file type). */
void pixmap_save_cb(GtkWidget *w, gpointer pixmap_ptr);
+typedef struct _surface_info_t {
+ cairo_surface_t *surface;
+ gint width;
+ gint height;
+} surface_info_t;
#endif /* __PIXMAP_SAVE_H__ */