mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 20:42:48 -05:00
Avoid deprecated gtk_misc_set_alignment().
As of GTK 3.16 (but not in previous GTK 3 versions), there's a new gtk_label_set_xalign which does this job.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user