r71489 - in /branches/upstream/libgtk2-perl/current: Gtk2.pm META.yml NEWS README t/GtkBuilder.t tools/genkeysyms.pl xs/GdkWindow.xs

ghedo-guest at users.alioth.debian.org ghedo-guest at users.alioth.debian.org
Wed Mar 16 11:12:49 UTC 2011


Author: ghedo-guest
Date: Wed Mar 16 11:12:33 2011
New Revision: 71489

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=71489
Log:
[svn-upgrade] new version libgtk2-perl (1.223)

Modified:
    branches/upstream/libgtk2-perl/current/Gtk2.pm
    branches/upstream/libgtk2-perl/current/META.yml
    branches/upstream/libgtk2-perl/current/NEWS
    branches/upstream/libgtk2-perl/current/README
    branches/upstream/libgtk2-perl/current/t/GtkBuilder.t
    branches/upstream/libgtk2-perl/current/tools/genkeysyms.pl
    branches/upstream/libgtk2-perl/current/xs/GdkWindow.xs

Modified: branches/upstream/libgtk2-perl/current/Gtk2.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgtk2-perl/current/Gtk2.pm?rev=71489&op=diff
==============================================================================
--- branches/upstream/libgtk2-perl/current/Gtk2.pm (original)
+++ branches/upstream/libgtk2-perl/current/Gtk2.pm Wed Mar 16 11:12:33 2011
@@ -73,7 +73,7 @@
 use Exporter;
 require DynaLoader;
 
-our $VERSION = '1.222';
+our $VERSION = '1.223';
 
 our @ISA = qw(DynaLoader Exporter);
 

Modified: branches/upstream/libgtk2-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgtk2-perl/current/META.yml?rev=71489&op=diff
==============================================================================
--- branches/upstream/libgtk2-perl/current/META.yml (original)
+++ branches/upstream/libgtk2-perl/current/META.yml Wed Mar 16 11:12:33 2011
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Gtk2
-version:            1.222
+version:            1.223
 abstract:           Perl interface to the 2.x series of the Gimp Toolkit library
 author:  []
 license:            unknown

Modified: branches/upstream/libgtk2-perl/current/NEWS
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgtk2-perl/current/NEWS?rev=71489&op=diff
==============================================================================
--- branches/upstream/libgtk2-perl/current/NEWS (original)
+++ branches/upstream/libgtk2-perl/current/NEWS Wed Mar 16 11:12:33 2011
@@ -1,3 +1,10 @@
+Overview of changes in Gtk2 1.223
+=================================
+
+* Cope with the rename of the keysym defines in gtk+ 2.22
+* Correct the memory management in Gtk2::Gdk::Window->new
+* Fix a test failure in GtkBuilder.t
+
 Overview of changes in Gtk2 1.222
 =================================
 

Modified: branches/upstream/libgtk2-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgtk2-perl/current/README?rev=71489&op=diff
==============================================================================
--- branches/upstream/libgtk2-perl/current/README (original)
+++ branches/upstream/libgtk2-perl/current/README Wed Mar 16 11:12:33 2011
@@ -1,4 +1,4 @@
-Gtk2 version 1.222
+Gtk2 version 1.223
 ==================
 
 Perl bindings to the 2.x series of the Gtk+ graphical user interface library.

Modified: branches/upstream/libgtk2-perl/current/t/GtkBuilder.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgtk2-perl/current/t/GtkBuilder.t?rev=71489&op=diff
==============================================================================
--- branches/upstream/libgtk2-perl/current/t/GtkBuilder.t (original)
+++ branches/upstream/libgtk2-perl/current/t/GtkBuilder.t Wed Mar 16 11:12:33 2011
@@ -98,7 +98,7 @@
   ok ($builder->add_from_string ($ui) > 0);
 };
 is ($@, '');
-my @objects = $builder->get_objects;
+my @objects = sort { ref $a cmp ref $b } $builder->get_objects;
 isa_ok ($objects[0], 'Gtk2::Adjustment');
 isa_ok ($objects[1], 'Gtk2::SpinButton');
 

Modified: branches/upstream/libgtk2-perl/current/tools/genkeysyms.pl
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgtk2-perl/current/tools/genkeysyms.pl?rev=71489&op=diff
==============================================================================
--- branches/upstream/libgtk2-perl/current/tools/genkeysyms.pl (original)
+++ branches/upstream/libgtk2-perl/current/tools/genkeysyms.pl Wed Mar 16 11:12:33 2011
@@ -10,7 +10,8 @@
 		print "package Gtk2::Gdk::Keysyms;\n";
 		print "\%Gtk2::Gdk::Keysyms = (\n";
 		while (<IN>) {
-			/^#define\sGDK_([^ \t]*)\s+(0x[0-9A-Fa-f]+)/ and
+			# gtk+ 2.22 changed the prefix from GDK_ to GDK_KEY_.
+			/^#define\sGDK_(?:KEY_)?([^ \t]*)\s+(0x[0-9A-Fa-f]+)/ and
 				print "   '$1' => $2,\n";
 		}
 		print ");\n";

Modified: branches/upstream/libgtk2-perl/current/xs/GdkWindow.xs
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libgtk2-perl/current/xs/GdkWindow.xs?rev=71489&op=diff
==============================================================================
--- branches/upstream/libgtk2-perl/current/xs/GdkWindow.xs (original)
+++ branches/upstream/libgtk2-perl/current/xs/GdkWindow.xs Wed Mar 16 11:12:33 2011
@@ -177,7 +177,8 @@
 give the full names like "GDK_INPUT_OUTPUT" if desired, for some
 clarity.
 =cut
-GdkWindow_noinc *
+# Note: no _noinc here, as we dot own the returned window.
+GdkWindow *
 gdk_window_new (class, parent, attributes_ref)
 	GdkWindow_ornull *parent
 	SV *attributes_ref




More information about the Pkg-perl-cvs-commits mailing list