Hi,

intrigeri wrote (07 Jun 2014 12:45:17 GMT) :
> (Gtk3 is 0.016, Glib::Object::Introspection is 0.023-1)

FTR, I can still reproduce this with Gtk3 0.017 and G::O::I 0.024.

> I get this error:

>     Can't locate object method "format_secondary_text" via package 
> "Gtk3::MessageDialog"

> ... with that program:

>     use strict;
>     use warnings FATAL => 'all';

>     use Gtk3 qw{-init};

>     my $main_window = Gtk3::Window->new('toplevel');

>     my $dialog = Gtk3::MessageDialog->new(
>         $main_window, 'destroy-with-parent', 'error', 'ok', "title"
>     );

>     $dialog->format_secondary_text("bla");

> Am I doing anything wrong, or are there some bits missing somewhere?
> Note that it works just fine if I replace the call to the
> format_secondary_text method with:

>     $dialog->set('secondary_text' => "bla");

> Thanks in advance!

Cheers,
-- 
intrigeri
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to