summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo J. A. M. Carneiro <gjc@src.gnome.org>2006-07-23 12:04:09 +0000
committerGustavo J. A. M. Carneiro <gjc@src.gnome.org>2006-07-23 12:04:09 +0000
commit3bc62e491e6be1728f35fd794305601445d386eb (patch)
treee212fa80c28b4e0b04ffcc90458ceeeef5f8c3b2
parentf195d395ee47aff555959e96b14d1121f11619fb (diff)
downloadpygtk-3bc62e491e6be1728f35fd794305601445d386eb.tar.gz
_gtkimpl vs _gtk compat. fixes
-rw-r--r--ChangeLog8
-rw-r--r--gtk/Makefile.am4
-rw-r--r--gtk/_gtk.py1
3 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a8e9cb7..281a526a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-07-23 Gustavo J. A. M. Carneiro <gjc@gnome.org>
+
+ * gtk/_gtk.py: Add _PyGtk_API alias from _gtkimpl, for
+ compatibility reasons.
+
+ * gtk/Makefile.am (install-exec-hook): Uninstall old _gtk.la, if
+ installed, else it may conflict with _gtkimpl.la.
+
2006-07-22 John Finlay <finlay@moeraki.com>
* atk.defs (atk_implementor_ref_accessible): Attach as
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index bef009e7..6031d75b 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -157,3 +157,7 @@ endif
# could use pattern rules. Perhaps we should rename gtk-types.c.
gtk-types.c:
@:
+
+
+install-exec-hook: # Remove old deprecated modules
+ -$(LIBTOOL) --mode=uninstall rm -f $(pygtkdir)/_gtk.la
diff --git a/gtk/_gtk.py b/gtk/_gtk.py
index 4d9696e6..78f53c89 100644
--- a/gtk/_gtk.py
+++ b/gtk/_gtk.py
@@ -26,3 +26,4 @@ for symbol in _gtkimpl._get_symbol_names():
l[symbol] = _gtkimpl._get_symbol({}, symbol)
del l
+_PyGtk_API = _gtkimpl._PyGtk_API