[Telepathy-commits] [telepathy-glib/master] handle.h: move comment to a more appropriate place
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Oct 7 06:59:28 PDT 2008
---
telepathy-glib/handle.h | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/telepathy-glib/handle.h b/telepathy-glib/handle.h
index 0d5f002..79ad097 100644
--- a/telepathy-glib/handle.h
+++ b/telepathy-glib/handle.h
@@ -48,12 +48,6 @@ typedef guint TpHandle;
*/
#define TP_TYPE_HANDLE G_TYPE_UINT
-/* Must be static inline because it references NUM_TP_HANDLE_TYPES -
- * if it wasn't inlined, a newer libtelepathy-glib with a larger number
- * of handle types might accept handle types that won't fit in the
- * connection manager's array of length NUM_TP_HANDLE_TYPES
- */
-
/**
* TP_UNKNOWN_HANDLE_TYPE
*
@@ -78,6 +72,12 @@ static inline
/* spacer so gtkdoc documents this function as though not static */
gboolean tp_handle_type_is_valid (TpHandleType type, GError **error);
+/* Must be static inline because it references NUM_TP_HANDLE_TYPES -
+ * if it wasn't inlined, a newer libtelepathy-glib with a larger number
+ * of handle types might accept handle types that won't fit in the
+ * connection manager's array of length NUM_TP_HANDLE_TYPES
+ */
+
static inline gboolean
tp_handle_type_is_valid (TpHandleType type, GError **error)
{
--
1.5.6.5
More information about the Telepathy-commits
mailing list