Gabor Szabo wrote: > I have an Gtk2::AboutDialog in the application (using glade). I am > trying to set its name > using $about->set_name() which works on Ubuntu. When I try the same on > Camelbox I get a warning about > set_name being deprecated and that I should use set_program_name() instead. > > So I guess it is just that there are different versions of Gtk2 on > these platforms. > > But what should I do in such cases? > What is the recommended way to deal with this?
Just always use set_program_name in Perl code. The bindings automatically fall back to set_name when gtk+ is too old to have set_program_name. -- Bye, -Torsten _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list