Re: Balsa/GTK3 on Ubuntu 14.04 LTS

Albrecht Dreß a écrit :
Hi all,

I noticed that the current balsa gtk3 git does not compile on Ubuntu 14.04 LTS which comes with gtk3 3.10.8: requires gtk+-3.0 >= 3.4.0, but in several places the dialogue flag GTK_DIALOG_USE_HEADER_BAR is 
used which has been added with gtk3 3.12.

To get the code working on Ubuntu 14.04, IMO there are two quick solutions:
- wrap the GTK_DIALOG_USE_HEADER_BAR into #ifdef .. #endif (ugly, clutters the code)
- let configure check for gtk3 < 3.12 and "#define GTK_DIALOG_USE_HEADER_BAR 0" in this case (evil hack)


Either could be could, as long as it is clearly documented.
As a programmer myself, I would prefer whichever is more visible, for removal when no longer useful.

Cheers, Albrecht.

My 2$

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]