> I don't think the code after you organize it is ok because the > variable "node" always will be empty Sorry, I red it too fast, but the eneral ide is to read the options without invoking gtk_init. Interprate the argc/argv yourself or by other functions than the gtk one. Stian _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list