X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Funix.h;fp=unix%2Funix.h;h=fbe025ba656959363c5e55b7c5d02c4d39a49965;hb=afe2c355cf89216942240c58c701fde77a20a567;hp=6359a2cd0211a45068dbfe61c383723d431423e7;hpb=22ed04d00ef30f9713c8e7f6280a60ac78df943c;p=PuTTY.git diff --git a/unix/unix.h b/unix/unix.h index 6359a2cd..fbe025ba 100644 --- a/unix/unix.h +++ b/unix/unix.h @@ -137,6 +137,9 @@ void unix_setup_config_box(struct controlbox *b, int midsession, int protocol); /* gtkcfg.c */ void gtk_setup_config_box(struct controlbox *b, int midsession, void *window); +/* Helper function which happens to be in gtkfont.c at the moment */ +void get_label_text_dimensions(const char *text, int *width, int *height); + /* * In the Unix Unicode layer, DEFAULT_CODEPAGE is a special value * which causes mb_to_wc and wc_to_mb to call _libc_ rather than