mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Add ifdefs for older versions of GTK2 and Pango. Unfortunately, the
latter require manual input to the Makefile, since the Pango developers in their unbounded wisdom (that is, unbounded below) didn't bother to start providing the PANGO_VERSION macros until release 1.16 - ten releases _after_ everything I'm trying to check! [originally from svn r7940]
This commit is contained in:
@ -2161,7 +2161,9 @@ void set_dialog_action_area(GtkDialog *dlg, GtkWidget *w)
|
||||
* of the time (one separating the tree view from the main
|
||||
* controls, and another for the main controls themselves).
|
||||
*/
|
||||
#if GTK_CHECK_VERSION(2,4,0)
|
||||
gtk_alignment_set_padding(GTK_ALIGNMENT(align), 8, 8, 8, 8);
|
||||
#endif
|
||||
gtk_widget_show(align);
|
||||
gtk_box_pack_end(GTK_BOX(dlg->vbox), align, FALSE, TRUE, 0);
|
||||
w = gtk_hseparator_new();
|
||||
|
Reference in New Issue
Block a user