Re: Patch for missing @Gtk::Gdk::PixbufLoader::ISA



This time it really is attached...

Christian Borup wrote:

Hi there

I was playing around with the PixbufLoader but much to my surprise I
couldn't connect signals to the PixLoader object because the @ISA was
not set.
Attached is a patch that fixes that and generally cleans up
GdkPixbuf.pm.

Is this the right way to fix it?

./borup

_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
? GdkPixbuf.patch
Index: GdkPixbuf.pm
===================================================================
RCS file: /cvs/gnome/gnome-perl/GdkPixbuf/GdkPixbuf.pm,v
retrieving revision 1.5
diff -u -r1.5 GdkPixbuf.pm
--- GdkPixbuf.pm        2001/02/04 01:18:40     1.5
+++ GdkPixbuf.pm        2001/03/11 20:46:30
@@ -3,26 +3,14 @@
 package Gtk::Gdk::Pixbuf;
 
 require Gtk;
-require Exporter;
 require DynaLoader;
-require AutoLoader;
 
+use strict;
 use Carp;
 
-$VERSION = "0.7005";
-
- ISA = qw(Exporter DynaLoader);
-# Items to export into callers namespace by default. Note: do not export
-# names by default without a very good reason. Use EXPORT_OK instead.
-# Do not simply export all your public functions/methods/constants.
- EXPORT = qw(
-        
-);
-# Other items we are prepared to export if requested
- EXPORT_OK = qw(
-);
-
-# Autoload methods go after __END__, and are processed by the autosplit program.
+$Gtk::Gdk::Pixbuf::VERSION = "0.7005";
+ Gtk::Gdk::Pixbuf::ISA = qw(DynaLoader Gtk::Object);
+ Gtk::Gdk::PixbufLoader::ISA = qw(Gtk::Object);
 
 sub dl_load_flags {0x01}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]