On Tue, 25 Sep 2007, RAVI wrote: > Date: Tue, 25 Sep 2007 07:15:13 -0000 > From: RAVI <[EMAIL PROTECTED]> > Reply-To: <[email protected]> > To: <[email protected]> > Subject: [twincling] #define the main function > > hello everybody, > > > I am writing a small application where my main function should be > executed instead before users' main funciton. >
Hi Ravi: Further to my previous mail, please take a look at gtk_init() implementation as outlined in the gtkmain.c file Here is the gtkmain.c file from SVN HEAD http://svn.gnome.org/viewcvs/gtk%2B/trunk/gtk/gtkmain.c?view=markup As you read through the code, you will see a pattern as to how to handle the case that you are considering. Hope this helps. thanks Saifi.

