[gtkmm/gtkmm-3-4] Show get_type() in the API documentation.



commit 2de6d3dd1f2284dc2e46896305b0e2c7b0db7ea7
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Jul 16 11:15:44 2012 +0200

    Show get_type() in the API documentation.
    
    * tools/m4/class_gtkobject.m4: Move the static get_type()
    functions out of the ifdef so that doxygen can see them,
    because they are sometimes needed, for instance when
    implementing a custom container.
    Bug #670212 (Mark Vender).

 ChangeLog                   |   10 ++++++++++
 tools/m4/class_gtkobject.m4 |    5 ++++-
 2 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ca03300..63b3af1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2012-07-16  Murray Cumming  <murrayc murrayc com>
+
+	Show get_type() in the API documentation.
+
+	* tools/m4/class_gtkobject.m4: Move the static get_type()
+	functions out of the ifdef so that doxygen can see them,
+	because they are sometimes needed, for instance when 
+	implementing a custom container.
+	Bug #670212 (Mark Vender).
+
 2012-06-18  Kjell Ahlstedt  <kjell ahlstedt bredband net>
 
 	AppChooserDialog: Fix property name in constructors.
diff --git a/tools/m4/class_gtkobject.m4 b/tools/m4/class_gtkobject.m4
index 7d9e923..6c721bf 100644
--- a/tools/m4/class_gtkobject.m4
+++ b/tools/m4/class_gtkobject.m4
@@ -209,9 +209,12 @@ protected:
 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
 public:
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
+  /** Get the GType for this class, for use with the underlying GObject type system.
+   */
   static GType get_type()      G_GNUC_CONST;
 
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
 ifdef(`__BOOL_DYNAMIC_GTYPE_REGISTRATION__',`
   static GType get_type(GTypeModule* module)      G_GNUC_CONST;
 ',`')



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