API "break" request



  I'm sorry to come this late ask for an API change, but I've just
discovered[1].  Apparently rescanning header files and merging .defs
again for libgnomeui caused an accidental rename of
gnome.ui.Client.connect_to_session_manager (gnome-python 2.6.x) to
gnome.ui.Client.connect (2.9.x).

  This is change was accidentally and may break existing gnome-python
applications.  Moreover, the overloading of connect() in gnome.ui.Client
and gobject.GObject causes major confusion for developers.

  The following patch fix it.  There's no danger to "rush" the API here,
I just want to use the old and tested API.

  Regards.


--- gnome/ui.defs       16 Jan 2005 01:05:17 -0000      1.15
+++ gnome/ui.defs       9 Feb 2005 00:42:58 -0000
@@ -1419,7 +1419,7 @@
   (return-type "GnomeClient*")
)

-(define-method connect
+(define-method connect_to_session_manager
   (of-object "GnomeClient")
   (c-name "gnome_client_connect")
   (return-type "none")



[1] http://oss.codepoet.no/bugzilla/show_bug.cgi?id=117

-- 
Gustavo J. A. M. Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>
The universe is always one step beyond logic

Attachment: smime.p7s
Description: S/MIME cryptographic signature



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