[glibmm] MountOperation: Correct an ABI break.



commit 3bdf0fe4b189655a0d3656a5e70b369ca379e7d4
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 3d46443..b7a6b57 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-05  Josà Alburquerque  <jaalburquerque gmail com>
 
 	UnixConnection: Remove the const receive_credentials_finish() method.
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]