pygtk r3035 - in trunk: . gtk



Author: gianmt
Date: Mon Sep  1 22:30:09 2008
New Revision: 3035
URL: http://svn.gnome.org/viewvc/pygtk?rev=3035&view=rev

Log:
update with latest API changes in GTK+ and require GTK+ 2.13.8

Modified:
   trunk/ChangeLog
   trunk/configure.ac
   trunk/gtk/gtk-2.14.defs

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Mon Sep  1 22:30:09 2008
@@ -267,7 +267,7 @@
   AC_DEFINE([HAVE_GTK_2_12], [$have_gtk_212], [If Gtk 2.12 was found])
 
   dnl check for gtk 2.14
-  PKG_CHECK_MODULES(GTK214, [gtk+-2.0 >= 2.13.6,
+  PKG_CHECK_MODULES(GTK214, [gtk+-2.0 >= 2.13.8,
                              pygobject-2.0 >= 2.15.4],
 	  HAVE_GTK_214="yes", HAVE_GTK_214="no")
 

Modified: trunk/gtk/gtk-2.14.defs
==============================================================================
--- trunk/gtk/gtk-2.14.defs	(original)
+++ trunk/gtk/gtk-2.14.defs	Mon Sep  1 22:30:09 2008
@@ -717,11 +717,15 @@
   (of-object "GtkSelectionData")
   (c-name "gtk_selection_data_get_data")
   (return-type "const-guchar*")
-  (parameters
-    '("guint*" "length")
-  )
 )
 
+(define-method get_length
+  (of-object "GtkSelectionData")
+  (c-name "gtk_selection_data_get_length")
+  (return-type "gint")
+)
+
+
 (define-method get_display
   (of-object "GtkSelectionData")
   (c-name "gtk_selection_data_get_display")



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