roxen.lists.pike.general

Subject Author Date
Re: Strange issue in Pike 7.8 Martin Bähr <mbaehr[at]email[dot]archlab[dot]tuwien[dot]ac> 03-01-2009
On Sat, Jan 03, 2009 at 03:28:34PM +0100, Felip Alàez Nadal wrote:
> Please, don't say me "Don't import GTK2".

why not?
there is no need to import a module in order to use it.
the GTK2 namespace is rather large, so importing it would increase the
number of symbols that need to be searched by a lot making your program
potentially slower. (import is a pure convenience feature that can save
some typing, but unless it aids readability of the code, i would avoid
using it0

i suspect there is a conflict with GTK2.main and your own main that
causes your error.

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
offering: programming, training and administration   -  anywhere in the world
--
pike programmer   working in china                      community.gotpike.org
unix system-      iaeste.(tuwien.ac|or).at                     open-steam.org
administrator     caudium.org                                    is.schon.org
Martin Bähr       http://www.iaeste.or.at/~mbaehr/