]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/unix.h
Avoid deprecated gtk_misc_set_alignment().
[PuTTY.git] / unix / unix.h
index 36bf02bb8b5c9c24381782f21f56495e49fe620c..e0e771393e53cfdecf579f5581fadbe9fcd09432 100644 (file)
@@ -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