Put libinput_event_destroy() together with other event functions
authorJonas Ådahl <jadahl@gmail.com>
Sun, 8 Dec 2013 15:30:13 +0000 (16:30 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 8 Dec 2013 15:30:13 +0000 (16:30 +0100)
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
src/libinput.h

index 7da222b..a29a39c 100644 (file)
@@ -167,6 +167,16 @@ struct libinput_event_touch_touch;
  * @defgroup event Acessing and destruction of events
  */
 
+/**
+ * @ingroup event
+ *
+ * Destroy the event.
+ *
+ * @param event An event retrieved by libinput_get_event().
+ */
+void
+libinput_event_destroy(struct libinput_event *event);
+
 enum libinput_event_type
 libinput_event_get_type(struct libinput_event *event);
 
@@ -447,20 +457,6 @@ void
 libinput_destroy(struct libinput *libinput);
 
 /**
- * @defgroup event Acessing and destruction of events
- */
-
-/**
- * @ingroup event
- *
- * Destroy the event.
- *
- * @param event An event retrieved by libinput_get_event().
- */
-void
-libinput_event_destroy(struct libinput_event *event);
-
-/**
  * @defgroup seat Initialization and manipulation of seats
  */