[glibmm/glibmm-2-34] MountOperation: Correct an ABI break.



commit a757a0acf11d55a62ec58bd4ef52ab4637fe7480
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Nov 5 06:50:58 2012 +0100

    MountOperation: Correct an ABI break.
    
            * gio/src/mountoperation.hg: Use the no_default_handler option with
    the new _WRAP_SIGNAL() to avoid a new on_*() vfunc increasing the size
    of the class. This got into the 2.34.0 release at the last moment
    but it seems better to correct it before people use it than to leave it.

 ChangeLog                 |    9 +++++++++
 gio/src/mountoperation.hg |    2 +-
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e8b1469..f0f0b33 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-11-04  Murray Cumming  <murrayc murrayc com>
+
+        MountOperation: Correct an ABI break.
+
+        * gio/src/mountoperation.hg: Use the no_default_handler option with
+	the new _WRAP_SIGNAL() to avoid a new on_*() vfunc increasing the size
+	of the class. This got into the 2.34.0 release at the last moment 
+	but it seems better to correct it before people use it than to leave it.
+
 2012-11-04  Josà Alburquerque  <jaalburquerque gmail com>
 
 	docextract_to_xml.py: Replace &colon; with ':' in generated XML files.
diff --git a/gio/src/mountoperation.hg b/gio/src/mountoperation.hg
index f57eb61..2b370eb 100644
--- a/gio/src/mountoperation.hg
+++ b/gio/src/mountoperation.hg
@@ -94,7 +94,7 @@ public:
   //TODO: The array of char* is not very pleasant to wrap:
   //_WRAP_SIGNAL( void show_processes(const Glib::ustring& message, GArray* processes, const gchar *choices[]);
 
-  _WRAP_SIGNAL(void show_unmount_progress(const Glib::ustring& message, gint64 time_left, gint64 bytes_left), "show_unmount_progress")
+  _WRAP_SIGNAL(void show_unmount_progress(const Glib::ustring& message, gint64 time_left, gint64 bytes_left), "show_unmount_progress", no_default_handler)
 
   _WRAP_PROPERTY("username", Glib::ustring)
   _WRAP_PROPERTY("password", Glib::ustring)



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