X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Funix.h;fp=unix%2Funix.h;h=e0e771393e53cfdecf579f5581fadbe9fcd09432;hb=0b5a0c4da1f40fee351be1ae4494ef36ce1bef11;hp=36bf02bb8b5c9c24381782f21f56495e49fe620c;hpb=4e243ae9a4a08a3697b4803357bd12375f801998;p=PuTTY.git diff --git a/unix/unix.h b/unix/unix.h index 36bf02bb..e0e77139 100644 --- a/unix/unix.h +++ b/unix/unix.h @@ -151,8 +151,12 @@ 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 */ +/* General GTK helper functions, which could be in any source file and + * it doesn't really matter */ void get_label_text_dimensions(const char *text, int *width, int *height); +#ifdef MAY_REFER_TO_GTK_IN_HEADERS +void align_label_left(GtkLabel *label); +#endif /* * In the Unix Unicode layer, DEFAULT_CODEPAGE is a special value