diff options
Diffstat (limited to 'tikzit/src/gtk/gtkhelpers.h')
-rw-r--r-- | tikzit/src/gtk/gtkhelpers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tikzit/src/gtk/gtkhelpers.h b/tikzit/src/gtk/gtkhelpers.h index 418d234..a84e02b 100644 --- a/tikzit/src/gtk/gtkhelpers.h +++ b/tikzit/src/gtk/gtkhelpers.h @@ -22,6 +22,7 @@ // #import "TZFoundation.h" #include <gtk/gtk.h> +#import <gdk-pixbuf/gdk-pixbuf.h> void gtk_table_adjust_attach (GtkTable *table, GtkWidget *widget, @@ -46,4 +47,7 @@ gint tz_hijack_key_press (GtkWindow *win, GdkEventKey *event, gpointer user_data); +// Equivalent of GTK+3's gdk_pixbuf_get_from_surface() +GdkPixbuf * pixbuf_get_from_surface(cairo_surface_t *surface); + // vim:ft=objc:sts=2:sw=2:et |