[glib/wip/visibility2: 2/7] gioenumtypes.h.template: use GLIB_AVAILABLE_IN_ALL
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/visibility2: 2/7] gioenumtypes.h.template: use GLIB_AVAILABLE_IN_ALL
- Date: Thu, 6 Dec 2012 21:40:03 +0000 (UTC)
commit f4f490ae0eb60cb18f6ecf82e4c7d2d4a8a0c690
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Dec 6 13:59:35 2012 -0500
gioenumtypes.h.template: use GLIB_AVAILABLE_IN_ALL
glib-mkenums is not currently clever enough to know which version an
enum type was added in, so just mark all the _get_type() functions as
available in all versions.
https://bugzilla.gnome.org/show_bug.cgi?id=688681
gio/gioenumtypes.h.template | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gioenumtypes.h.template b/gio/gioenumtypes.h.template
index 174bd62..4baa6df 100644
--- a/gio/gioenumtypes.h.template
+++ b/gio/gioenumtypes.h.template
@@ -13,7 +13,7 @@ G_BEGIN_DECLS
/*** END file-production ***/
/*** BEGIN value-header ***/
-GType @enum_name _get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL GType @enum_name _get_type (void) G_GNUC_CONST;
#define @ENUMPREFIX _TYPE_@ENUMSHORT@ (@enum_name _get_type ())
/*** END value-header ***/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]