[gtkmm] Show get_type() in the API documentation.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Show get_type() in the API documentation.
- Date: Mon, 16 Jul 2012 09:20:29 +0000 (UTC)
commit 67081d1f7b24a1ea8141b42434fd8260e671249f
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 896e7e2..c547c90 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
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-07-16 Murray Cumming <murrayc murrayc com>
+
Settings: Deprecate the gtk-touchscreen-property.
* gtk/src/settings.hg: Because it was deprecated in GTK+.
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]