[gtkmm] _CLASS_GTKOBJECT: Put declarations of default signal handlers at the end



commit 5a15bec9ef203e0e7b07bb7694d8009f20cf8e40
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Fri Apr 28 18:13:07 2017 +0200

    _CLASS_GTKOBJECT: Put declarations of default signal handlers at the end
    
    * tools/m4/class_gtkobject.m4: Declarations of default signal handlers are
    written at the end of the class definition, like _CLASS_GOBJECT does.
    This is necessary if a signal handler uses an in-class enum. Bug 86864

 tools/m4/class_gtkobject.m4 |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tools/m4/class_gtkobject.m4 b/tools/m4/class_gtkobject.m4
index 220e15c..f2f82bb 100644
--- a/tools/m4/class_gtkobject.m4
+++ b/tools/m4/class_gtkobject.m4
@@ -278,11 +278,12 @@ ifdef(`__BOOL_DYNAMIC_GTYPE_REGISTRATION__',`
   ///Provides access to the underlying C GtkObject.
   const __CNAME__* gobj() const { return reinterpret_cast<__CNAME__*>(gobject_); }
 
-_H_VFUNCS_AND_SIGNALS()
-
 private:
 _IMPORT(SECTION_CLASS2)
 
+public:
+_H_VFUNCS_AND_SIGNALS()
+
 ')
 
 


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