~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a _very_ subtle segfault in my two GTK container classes: the
[sgt/putty]
/
unix
/
unix.h
diff --git
a/unix/unix.h
b/unix/unix.h
index
16156c9
..
63d7ff0
100644
(file)
--- a/
unix/unix.h
+++ b/
unix/unix.h
@@
-55,6
+55,9
@@
char *get_x_display(void *frontend);
int font_dimension(void *frontend, int which);/* 0 for width, 1 for height */
long get_windowid(void *frontend);
int font_dimension(void *frontend, int which);/* 0 for width, 1 for height */
long get_windowid(void *frontend);
+/* Things gtkdlg.c needs from pterm.c */
+void *get_window(void *frontend); /* void * to avoid depending on gtk.h */
+
/* Things uxstore.c needs from pterm.c */
char *x_get_default(const char *key);
/* Things uxstore.c needs from pterm.c */
char *x_get_default(const char *key);