Hi > but when i put it throught valgrind tool it says 156 bytes loss in memory Analyzing glib code with valgrind requires some preparation or falsepositives are reported. Ask your favorite search engine about this andyou should be able to find some documentation. Tadej -- Tadej Borovšak00386 (0)40 613 131tadeboro.blogspot.comtadeboro@xxxxxxxxxxxxxxxxxxxxxxx@gmail.com_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list