glibmm r764 - trunk/gio/src



Author: jjongsma
Date: Sun Dec 14 18:59:41 2008
New Revision: 764
URL: http://svn.gnome.org/viewvc/glibmm?rev=764&view=rev

Log:
Fix ABI breakage caused by new signals in Gio::Drive

Wrap the new signals in Gio::Drive with no_default_handler so that new virtual
functions are not added.  This was an ABI breakage in 2.19.0

Modified:
   trunk/gio/src/drive.hg

Modified: trunk/gio/src/drive.hg
==============================================================================
--- trunk/gio/src/drive.hg	(original)
+++ trunk/gio/src/drive.hg	Sun Dec 14 18:59:41 2008
@@ -112,9 +112,16 @@
   _WRAP_METHOD(std::string get_identifier(const std::string& kind) const, g_drive_get_identifier)
   _WRAP_METHOD(Glib::StringArrayHandle enumerate_identifiers() const, g_drive_enumerate_identifiers)
 
-  _WRAP_SIGNAL(void changed(), changed);
-  _WRAP_SIGNAL(void disconnected(), disconnected);
-  _WRAP_SIGNAL(void eject_button(), eject_button);
+
+  /** @newin2p20
+   */
+  _WRAP_SIGNAL(void changed(), changed, no_default_handler);
+  /** @newin2p20
+   */
+  _WRAP_SIGNAL(void disconnected(), disconnected, no_default_handler);
+  /** @newin2p20
+   */
+  _WRAP_SIGNAL(void eject_button(), eject_button, no_default_handler);
 
   //_WRAP_VFUNC(Glib::ustring get_name() const, get_name)
   //Careful of ref-counting: //_WRAP_VFUNC(Glib::RefPtr<Icon> get_icon() const, get_icon)



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