gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
Back in version 1.11-1.12, 2009-11-13 13:50:27 (per) line 1: - require gtk24; + require not_now; Why was this change made? GTK2.FileChooserDialog works fine, it just requires gtk 2.4. When I change it back to gtk24 from not_now, it compiles fine and the widget is usable. I would like to

gtkfilechooserdialog.pre change

2010-08-31 Thread Per Hedbor () @ Pike (-) developers forum
Why was this change made? GTK2.FileChooserDialog works fine, it just requires gtk 2.4. When I change it back to gtk24 from not_now, it compiles fine and the widget is usable. Feel free to. It did not work back then, when I got the 'require' statements working I got compile errors in a few

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
- Original Message From: Per Hedbor () @ Pike (-) developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Tue, August 31, 2010 10:55:02 AM Subject: gtkfilechooserdialog.pre change Why was this change made? GTK2.FileChooserDialog works fine

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
Speaking of requires, could we perhaps export which reqires that are enabled to the cpp somehow, so that you can test for them in the pike code as well? Case in point; the GTK2 version of Tools.PV wants to use GTK2.Widget()-get_window(), which requires gtk 2.14, but I have no way of testing if it

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
- Original Message From: Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Tue, August 31, 2010 11:25:02 AM Subject: Re: gtkfilechooserdialog.pre change Speaking of requires, could we

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
Oh, hmm, from the pike level, you can probably use has_index(object,get_window), but I could probably add the macros also. I can't use has_index(object...) from the pre-processor. That's why I need the macros.

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
- Original Message From: Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Tue, August 31, 2010 3:00:02 PM Subject: Re: gtkfilechooserdialog.pre change Oh, hmm, from the pike level

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
- Original Message From: Lance Dillon riffraff...@yahoo.com To: pike-devel@lists.lysator.liu.se Sent: Tue, August 31, 2010 3:15:17 PM Subject: Re: gtkfilechooserdialog.pre change - Original Message From: Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
There is also a GTK2.version(), that returns the versions, but you probably can't use that either. No, and also, GTK2.version() returns the runtime version of the libraries, which may be different. If you have GTK 2.12 when you build pike, features which require gtk214 will not be compiled in.

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
- Original Message From: Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Tue, August 31, 2010 6:35:03 PM Subject: Re: gtkfilechooserdialog.pre change There is also a GTK2.version