Re: deprecated functions - Gtk2::AboutDialog
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: deprecated functions - Gtk2::AboutDialog
- Date: Sun, 04 May 2008 15:14:21 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]