API "break" request

"Gustavo J. A. M. Carneiro" <[email protected]> Wed, 09 Feb 2005 00:47:14 +0000
Newsgroups gmane.comp.gnome.language-bindings
Organization INESC
Message-ID <1107910034.8682.1.camel@emperor>
  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
<[email protected]> <[email protected]>
The universe is always one step beyond logic

_______________________________________________
language-bindings mailing list  [email protected]
http://mail.gnome.org/mailman/listinfo/language-bindings
smime.p7s (application/x-pkcs7-signature, 3 KB) - not displayed