Message-ID: <4470E7D5.20001 at gushee.net> Date: Sun, 21 May 2006 16:21:09 -0600 From: Matt Gushee MIME-Version: 1.0 To: lablgtk at math.nagoya-u.ac.jp Subject: API version problem Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Length: 742 I have some code that uses GMain.Io.add_watch, and I have noticed that the signature of that function changed at some point (okay, looks like 2004.11.10, but that doesn't really answer my question). I've been working with my code on two machines with two different versions of LablGTK2; except for this difference, the program compiles fine with either version. So I'd like to add an IFDEF to account for this small difference, but I'm not sure exactly what to test for. Is there a simple >= test that will work? Since the version numbering is inconsistent (YYYYMMDD snapshots interspersed with .. releases), it appears not. Thanks for any tips. -- Matt Gushee The Reluctant Geek: http://matt.gushee.net/rg/