[perl-Glib-IO] Remove some corrections that are now obsolete



commit 9d75955427bddd2a2ed4fcd5d47425c19bb8d063
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date:   Sun Feb 17 13:31:35 2013 +0100

    Remove some corrections that are now obsolete

 README         |    2 +-
 dist.ini       |    4 ++--
 lib/Glib/IO.pm |   22 +++-------------------
 3 files changed, 6 insertions(+), 22 deletions(-)
---
diff --git a/README b/README
index c55deb5..1841c7b 100644
--- a/README
+++ b/README
@@ -30,7 +30,7 @@ Please report bugs to the gnome-perl product in GNOME's Bugzilla:
 COPYRIGHT AND LICENSE
 ---------------------
 
-Copyright (C) 2010 Torsten Schoenfeld <kaffeetisch gmx de>
+Copyright (C) 2010, 2013 Torsten Schoenfeld <kaffeetisch gmx de>
 
 This library is free software; you can redistribute it and/or modify it under
 the terms of the GNU Library General Public License as published by the Free
diff --git a/dist.ini b/dist.ini
index 57efc63..9985b78 100644
--- a/dist.ini
+++ b/dist.ini
@@ -16,5 +16,5 @@ copyright_holder = Torsten Schoenfeld
 [ConfirmRelease]
 [UploadToCPAN]
 
-[Prereq]
-Glib::Object::Introspection = 0.001
+[Prereqs]
+Glib::Object::Introspection = 0.014
diff --git a/lib/Glib/IO.pm b/lib/Glib/IO.pm
index b09e1d6..ff55c3f 100644
--- a/lib/Glib/IO.pm
+++ b/lib/Glib/IO.pm
@@ -1,6 +1,7 @@
 package Glib::IO;
 
 use strict;
+use warnings;
 use Glib::Object::Introspection;
 
 our $GIO_BASENAME = 'Gio';
@@ -8,27 +9,10 @@ our $GIO_VERSION = '2.0';
 our $GIO_PACKAGE = 'Glib::IO';
 
 sub import {
-  my %name_corrections = (
-    'Glib::IO::file_hash'                    => 'Glib::IO::File::hash',
-    'Glib::IO::file_new_for_commandline_arg' => 'Glib::IO::File::new_for_commandline_arg',
-    'Glib::IO::file_new_for_path'            => 'Glib::IO::File::new_for_path',
-    'Glib::IO::file_new_for_uri'             => 'Glib::IO::File::new_for_uri',
-    'Glib::IO::file_parse_name'              => 'Glib::IO::File::parse_name',
-  );
-
-  my @class_static_methods = qw(
-    Glib::IO::File::new_for_commandline_arg
-    Glib::IO::File::new_for_path
-    Glib::IO::File::new_for_uri
-    Glib::IO::File::parse_name
-  );
-
   Glib::Object::Introspection->setup(
     basename => $GIO_BASENAME,
     version => $GIO_VERSION,
-    package => $GIO_PACKAGE,
-    name_corrections => \%name_corrections,
-    class_static_methods => \ class_static_methods);
+    package => $GIO_PACKAGE);
 }
 
 1;
@@ -62,7 +46,7 @@ XXX
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright (C) 2010 by Torsten Schoenfeld <kaffeetisch gmx de>
+Copyright (C) 2010, 2013 by Torsten Schoenfeld <kaffeetisch gmx de>
 
 This library is free software; you can redistribute it and/or modify it under
 the terms of the Lesser General Public License (LGPL).  For more information,


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