Re: Standalone Pango, take two

2008-11-02 Thread muppet
On Nov 2, 2008, at 11:16 AM, Sergei Steshenko wrote: --- On Sun, 11/2/08, Torsten Schoenfeld [EMAIL PROTECTED] wrote: More importantly even, the loop will also automatically map over any new API we add to Pango, thus indirectly changing Gtk2's API. Is it better to hardcode the stuff that

Re: buildable interface testers error

2008-11-02 Thread muppet
On Nov 1, 2008, at 2:21 PM, Torsten Schoenfeld wrote: muppet wrote: The obvious scenario that comes to mind is a hosed registration order. Is there any value in worrying about deferred initialization? I don't think so, as you're typically doing instantiation after initialization has

Re: Glib::IO::add_watch doesn't work in Windows

2008-11-02 Thread zentara
On Thu, 08 Nov 2007 14:04:11 +0800 Ye Wenbin [EMAIL PROTECTED] wrote: Hi, The add_watch function seem not work in Windows. I test using this script: use Gtk2 '-init'; use Glib qw/FALSE TRUE/; Glib::IO-add_watch( fileno(STDIN), 'in', \callback, \*STDIN, ); Gtk2-main; sub

Re: buildable interface testers error

2008-11-02 Thread muppet
On Nov 1, 2008, at 2:38 PM, Torsten Schoenfeld wrote: Torsten Schoenfeld wrote: package Foo; use Glib::Object::Subclass 'Glib::Object', interfaces = [ 'Gtk2::CellLayout' ]; use Gtk2; By the way: with the patch applied, this warning is printed: encountered unregistered interface

Re: Standalone Pango, take two

2008-11-02 Thread Sergei Steshenko
--- On Sun, 11/2/08, muppet [EMAIL PROTECTED] wrote: From: muppet [EMAIL PROTECTED] Subject: Re: Standalone Pango, take two To: gtk-perl-list@gnome.org List gtk-perl-list@gnome.org Date: Sunday, November 2, 2008, 8:30 AM On Nov 2, 2008, at 11:16 AM, Sergei Steshenko wrote: --- On Sun,

Re: Standalone Pango, take two

2008-11-02 Thread Torsten Schoenfeld
Sergei Steshenko wrote: I think the safest approach is to export/map _nothing_. If one needs method/data, he/she should explicitly prefix it with package name. I think you're confusing something here. We are not talking about exporting symbols into the user's namespace. Gtk2 never did that

Re: Standalone Pango, take two

2008-11-02 Thread Sergei Steshenko
--- On Sun, 11/2/08, Torsten Schoenfeld [EMAIL PROTECTED] wrote: From: Torsten Schoenfeld [EMAIL PROTECTED] Subject: Re: Standalone Pango, take two To: gtk-perl-list@gnome.org Date: Sunday, November 2, 2008, 9:23 AM Sergei Steshenko wrote: I think the safest approach is to export/map

Re: Standalone Pango, take two

2008-11-02 Thread muppet
On Nov 2, 2008, at 1:14 PM, Sergei Steshenko wrote: --- On Sun, 11/2/08, Torsten Schoenfeld [EMAIL PROTECTED] wrote: Sergei Steshenko wrote: I think the safest approach is to export/map _nothing_. If one needs method/data, he/she should explicitly prefix it with package name. I think