Re: GTK2 Version

2010-08-31 Thread Lance Dillon
- Original Message > From: "Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum" ><10...@lyskom.lysator.liu.se> > To: pike-devel@lists.lysator.liu.se > Sent: Tue, August 31, 2010 7:50:02 PM > Subject: GTK2 Version > > Are the camel case just redundant copies of the first o

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.v

GTK2 Version

2010-08-31 Thread Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
Are the camel case just redundant copies of the first ones, or do they mean different things?

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 i

GTK2 Version

2010-08-31 Thread Lance Dillon
GTK2 version is now available as a constant with the following: Pike v7.8 release 469 running Hilfe v3.5 (Incremental Pike Frontend) > GTK2.GTK_MINOR_VERSION; (1) Result: 0 > GTK2.MAJOR_VERSION; (2) Result: 2 > GTK2.MINOR_VERSION; (3) Result: 20 > GTK2.MICRO_VERSION; (4) Result: 1 > GTK2.MicroVers

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
- Original Message > From: Lance Dillon > 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 (-) developer

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 pi

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 11:25:02 AM > Subject: Re: gtkfilechooserdialog.pre change > > Speaking of "require

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
Speaking of "require"s, 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

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 f

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

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 rev