Re: missing files in rpms?
- From: "muppet" <scott asofyet org>
 
- To: gtk-perl-list gnome org
 
- Subject: Re: missing files in rpms?
 
- Date: Fri, 7 Nov 2003 11:32:25 -0500 (EST)
 
Dennis Wheeler said:
When trying to run a gtk app (pbible), I get the following error
  Can't locate auto/Gtk2/main_window.al in @INC
this is perl looking for the method "main_window", not finding it, and trying
to autoload it, and *still* not finding it.
that's because "main_window" was a convenience method in gtk2-perl <= 0.12. 
this function doesn't exist in gtk2-perl >= 0.20, because after the rewrite we
tried very hard to avoid adding functions that don't exist in gtk+ itself.
the method is trivial to replace, if you don't mind hacking up the
application.  you can see main_window's 15-line implementation at line 188 of
http://cvs.sourceforge.net/viewcvs.py/gtk2-perl/gtk2-perl/Gtk2/Gtk2.pm?annotate=1.6
-- 
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]