perl-Gtk2 r2157 - in trunk: . t xs



Author: tsch
Date: Tue Mar 17 18:21:36 2009
New Revision: 2157
URL: http://svn.gnome.org/viewvc/perl-Gtk2?rev=2157&view=rev

Log:
Change all versions checks to refer to stable releases only.


Modified:
   trunk/ChangeLog
   trunk/t/GtkCellView.t
   trunk/t/GtkEntry.t
   trunk/t/GtkIMContext.t
   trunk/t/GtkImageMenuItem.t
   trunk/t/GtkOrientable.t
   trunk/t/GtkPrintSettings.t
   trunk/t/GtkStatusIcon.t
   trunk/t/GtkStyle.t
   trunk/xs/GtkCellView.xs
   trunk/xs/GtkEntry.xs
   trunk/xs/GtkIMMulticontext.xs
   trunk/xs/GtkImageMenuItem.xs
   trunk/xs/GtkPrintOperation.xs
   trunk/xs/GtkPrintSettings.xs
   trunk/xs/GtkSelection.xs
   trunk/xs/GtkStatusIcon.xs
   trunk/xs/GtkStyle.xs

Modified: trunk/t/GtkCellView.t
==============================================================================
--- trunk/t/GtkCellView.t	(original)
+++ trunk/t/GtkCellView.t	Tue Mar 17 18:21:36 2009
@@ -48,7 +48,7 @@
 
 SKIP: {
 	skip 'new 2.16 stuff', 2
-		unless Gtk2->CHECK_VERSION(2, 15, 0); # FIXME: 2.16
+		unless Gtk2->CHECK_VERSION(2, 16, 0);
 
 	$cview->set_model (undef);
 	is($cview->get_model(), undef, '$cview->get_model with undef');

Modified: trunk/t/GtkEntry.t
==============================================================================
--- trunk/t/GtkEntry.t	(original)
+++ trunk/t/GtkEntry.t	Tue Mar 17 18:21:36 2009
@@ -101,7 +101,7 @@
 
 SKIP: {
   skip '2.16 stuff', 38
-    unless Gtk2->CHECK_VERSION(2, 15, 0); # FIXME: 2.16
+    unless Gtk2->CHECK_VERSION(2, 16, 0);
 
   ## progress methods
 

Modified: trunk/t/GtkIMContext.t
==============================================================================
--- trunk/t/GtkIMContext.t	(original)
+++ trunk/t/GtkIMContext.t	Tue Mar 17 18:21:36 2009
@@ -62,7 +62,7 @@
 
 SKIP: {
 	skip '2.16 additions', 2
-		unless Gtk2->CHECK_VERSION (2, 15, 0); # FIXME: 2.16
+		unless Gtk2->CHECK_VERSION (2, 16, 0);
 
 	is ($context->get_context_id, undef, 'No default context ID');
 

Modified: trunk/t/GtkImageMenuItem.t
==============================================================================
--- trunk/t/GtkImageMenuItem.t	(original)
+++ trunk/t/GtkImageMenuItem.t	Tue Mar 17 18:21:36 2009
@@ -29,7 +29,7 @@
 
 SKIP: {
 	skip 'use_stock methods', 4
-		unless Gtk2->CHECK_VERSION(2, 15, 0); # FIXME: 2.16
+		unless Gtk2->CHECK_VERSION(2, 16, 0);
 
 	# Get an item from a stock and test the getter/setter
 	my $from_stock = Gtk2::ImageMenuItem -> new_from_stock("gtk-yes");

Modified: trunk/t/GtkOrientable.t
==============================================================================
--- trunk/t/GtkOrientable.t	(original)
+++ trunk/t/GtkOrientable.t	Tue Mar 17 18:21:36 2009
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 use Gtk2::TestHelper
 	tests => 6,
-	at_least_version => [2, 15, 0, 'GtkOrientable: it appeared in 2.16']; # FIXME: 2.16
+	at_least_version => [2, 16, 0, 'GtkOrientable: it appeared in 2.16'];
 
 
 my $vbox = Gtk2::VBox -> new();

Modified: trunk/t/GtkPrintSettings.t
==============================================================================
--- trunk/t/GtkPrintSettings.t	(original)
+++ trunk/t/GtkPrintSettings.t	Tue Mar 17 18:21:36 2009
@@ -114,7 +114,7 @@
 
 SKIP: {
   skip 'new 2.16 stuff', 6
-    unless Gtk2->CHECK_VERSION(2, 15, 0); # FIXME: 2.16
+    unless Gtk2->CHECK_VERSION(2, 16, 0);
 
   my $settings = Gtk2::PrintSettings -> new();
 

Modified: trunk/t/GtkStatusIcon.t
==============================================================================
--- trunk/t/GtkStatusIcon.t	(original)
+++ trunk/t/GtkStatusIcon.t	Tue Mar 17 18:21:36 2009
@@ -138,7 +138,7 @@
 
 SKIP: {
   skip 'new 2.16 stuff', 6
-    unless Gtk2->CHECK_VERSION(2, 15, 0); # FIXME: 2.16
+    unless Gtk2->CHECK_VERSION(2, 16, 0);
 
   $icon->set_has_tooltip(TRUE);
   is ($icon->get_has_tooltip(), TRUE);

Modified: trunk/t/GtkStyle.t
==============================================================================
--- trunk/t/GtkStyle.t	(original)
+++ trunk/t/GtkStyle.t	Tue Mar 17 18:21:36 2009
@@ -136,7 +136,7 @@
 
 SKIP: {
   skip("get is new in 2.16", 12)
-    unless (Gtk2->CHECK_VERSION(2, 15, 0)); # FIXME 2.16
+    unless (Gtk2->CHECK_VERSION(2, 16, 0));
 
   # Test different properties (gint, gboolean, gchar* and GObject)
   my $treeview = Gtk2::TreeView -> new();

Modified: trunk/xs/GtkCellView.xs
==============================================================================
--- trunk/xs/GtkCellView.xs	(original)
+++ trunk/xs/GtkCellView.xs	Tue Mar 17 18:21:36 2009
@@ -67,7 +67,7 @@
 	else
 		XSRETURN_EMPTY;
 
-#if GTK_CHECK_VERSION (2, 15, 0) /* FIXME: 2.16 */
+#if GTK_CHECK_VERSION (2, 16, 0)
 
 GtkTreeModel_ornull * gtk_cell_view_get_model (GtkCellView * cellview);
 

Modified: trunk/xs/GtkEntry.xs
==============================================================================
--- trunk/xs/GtkEntry.xs	(original)
+++ trunk/xs/GtkEntry.xs	Tue Mar 17 18:21:36 2009
@@ -228,7 +228,7 @@
 #endif /* 2.14 */
 
 
-#if GTK_CHECK_VERSION(2, 15, 0) /* FIXME: 2.16 */
+#if GTK_CHECK_VERSION (2, 16, 0)
 
 #
 # FIXME: Missing typemap, actually I don't think that gio is available through Perl

Modified: trunk/xs/GtkIMMulticontext.xs
==============================================================================
--- trunk/xs/GtkIMMulticontext.xs	(original)
+++ trunk/xs/GtkIMMulticontext.xs	Tue Mar 17 18:21:36 2009
@@ -30,7 +30,7 @@
 void gtk_im_multicontext_append_menuitems (GtkIMMulticontext *context, GtkMenuShell *menushell);
 
 
-#if GTK_CHECK_VERSION(2, 15, 0) /* FIXME: 2.16 */
+#if GTK_CHECK_VERSION (2, 16, 0)
 
 const char* gtk_im_multicontext_get_context_id (GtkIMMulticontext *context);
 

Modified: trunk/xs/GtkImageMenuItem.xs
==============================================================================
--- trunk/xs/GtkImageMenuItem.xs	(original)
+++ trunk/xs/GtkImageMenuItem.xs	Tue Mar 17 18:21:36 2009
@@ -63,7 +63,7 @@
 	GtkImageMenuItem * image_menu_item
 
 
-#if GTK_CHECK_VERSION(2, 15, 0) /* FIXME: 2.16 */
+#if GTK_CHECK_VERSION (2, 16, 0)
 
 ## gboolean gtk_image_menu_item_get_use_stock (GtkImageMenuItem *image_menu_item);
 gboolean

Modified: trunk/xs/GtkPrintOperation.xs
==============================================================================
--- trunk/xs/GtkPrintOperation.xs	(original)
+++ trunk/xs/GtkPrintOperation.xs	Tue Mar 17 18:21:36 2009
@@ -94,7 +94,7 @@
 
 void gtk_print_operation_cancel (GtkPrintOperation *op);
 
-#if GTK_CHECK_VERSION (2, 15, 0) /* FIXME: 2.16 */
+#if GTK_CHECK_VERSION (2, 16, 0)
 
 =for apidoc
 

Modified: trunk/xs/GtkPrintSettings.xs
==============================================================================
--- trunk/xs/GtkPrintSettings.xs	(original)
+++ trunk/xs/GtkPrintSettings.xs	Tue Mar 17 18:21:36 2009
@@ -121,7 +121,7 @@
 
 #endif /* 2.14 */
 
-#if GTK_CHECK_VERSION (2, 15, 0) /* FIXME: 2.16 */
+#if GTK_CHECK_VERSION (2, 16, 0)
 
 gdouble gtk_print_settings_get_printer_lpi (GtkPrintSettings *settings);
 

Modified: trunk/xs/GtkSelection.xs
==============================================================================
--- trunk/xs/GtkSelection.xs	(original)
+++ trunk/xs/GtkSelection.xs	Tue Mar 17 18:21:36 2009
@@ -22,7 +22,7 @@
 #include "gtk2perl.h"
 
 
-#if !GTK_CHECK_VERSION (2, 15, 0) /* FIXME 2.16 */
+#if !GTK_CHECK_VERSION (2, 16, 0)
 #  define gtk_selection_data_get_selection(d) ((d)->selection)
 #endif /* 2.16 */
 

Modified: trunk/xs/GtkStatusIcon.xs
==============================================================================
--- trunk/xs/GtkStatusIcon.xs	(original)
+++ trunk/xs/GtkStatusIcon.xs	Tue Mar 17 18:21:36 2009
@@ -134,7 +134,7 @@
 
 #endif /* 2.14 */
 
-#if GTK_CHECK_VERSION (2, 15, 0) /* FIXME: 2.16 */
+#if GTK_CHECK_VERSION (2, 16, 0)
 
 void gtk_status_icon_set_has_tooltip (GtkStatusIcon *status_icon, gboolean has_tooltip);
 

Modified: trunk/xs/GtkStyle.xs
==============================================================================
--- trunk/xs/GtkStyle.xs	(original)
+++ trunk/xs/GtkStyle.xs	Tue Mar 17 18:21:36 2009
@@ -573,7 +573,7 @@
 
 #endif
 
-#if GTK_CHECK_VERSION (2, 15, 0) /* FIXME 2.16 */
+#if GTK_CHECK_VERSION (2, 16, 0)
 
 =for apidoc
 =for signature list = $style->get (widget_package, ...)



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