summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac2
-rw-r--r--gtk/gtk-2.14.defs10
3 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 50ae742a..6d5f2c73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2008-09-01 Gian Mario Tagliaretti <gianmt@gnome.org>
+ * configure.ac: require GTK+ 2.13.8 for pygtk 2.14
+
+ * gtk/gtk-2.14.defs: update with latest API changes in GTK+
+
+2008-09-01 Gian Mario Tagliaretti <gianmt@gnome.org>
+
* configure.ac: require pygobject 2.15.4 for pygtk 2.14
2008-09-01 Gian Mario Tagliaretti <gianmt@gnome.org>
diff --git a/configure.ac b/configure.ac
index 76e92d32..58735fae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -267,7 +267,7 @@ if test "x$have_pycairo" = "xtrue"; then
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")
diff --git a/gtk/gtk-2.14.defs b/gtk/gtk-2.14.defs
index c786273c..e27080ca 100644
--- a/gtk/gtk-2.14.defs
+++ b/gtk/gtk-2.14.defs
@@ -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")