summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/gtkhelpers.h
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@cs.ox.ac.uk>2012-12-17 15:50:11 +0000
committerAlex Merry <alex.merry@cs.ox.ac.uk>2012-12-17 15:52:08 +0000
commit477b865da18f6004a5180d924997d9283c20250f (patch)
tree631dcb7651cd037c379a224ff5402368879562a2 /tikzit/src/gtk/gtkhelpers.h
parent6d1332ac7513f564c36949ed5d95fd6874f8bbb2 (diff)
Remember the geometry of the utility windows
Code largely stolen from the GIMP.
Diffstat (limited to 'tikzit/src/gtk/gtkhelpers.h')
-rw-r--r--tikzit/src/gtk/gtkhelpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tikzit/src/gtk/gtkhelpers.h b/tikzit/src/gtk/gtkhelpers.h
index bcdac89..81a4d93 100644
--- a/tikzit/src/gtk/gtkhelpers.h
+++ b/tikzit/src/gtk/gtkhelpers.h
@@ -38,4 +38,6 @@ gint tz_hijack_key_press (GtkWindow *win,
// Equivalent of GTK+3's gdk_pixbuf_get_from_surface()
GdkPixbuf * pixbuf_get_from_surface(cairo_surface_t *surface);
+void tz_restore_window (GtkWindow *window, gint x, gint y, gint w, gint h);
+
// vim:ft=objc:sts=2:sw=2:et