hi;

glad to see from your other email that updating fixed your issue…

On 6 December 2014 at 21:19, Juergen Harms <juergen.ha...@unige.ch> wrote:

> However, I appear to advance from a learning problem to a banging-your-head
> problem (I am using perl-Gtk3-0.19.0 ):
>
> $gtk_settings = Gtk3::Settings->get_default ();
> fails with "passed too many parameters (expected 0, got 1)"

this should be Gtk3::Settings::get_default(), with
Glib::Object::Introspection — the extra parameter Perl is complaining
about is the package name/class.

> and when I do what I really want (with gtk_screen properly set up - as
> successfully used for caling StyleContext::add_provider_for_screen  )
>
> $gtk_settings = Gtk3::Settings->get_for_screen ( $gtk_screen );
> with "passed too many parameters (expected 1, got 2)"

same as above, this should be: Gtk3::Settings::get_for_screen().

ciao,
 Emmanuele.

-- 
http://www.bassi.io
[@] ebassi [@gmail.com]
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to