birb/birb

f20cbe6b2e02
Parents 7e044638e996
Children 79e5dc2cd3f4
Remove the micro version from the since tags

Testing Done:
Verified the docs.

Reviewed at https://reviews.imfreedom.org/r/2969/
--- a/birb/birbactionmenu.h Thu Feb 22 19:05:14 2024 -0600
+++ b/birb/birbactionmenu.h Thu Feb 22 19:06:35 2024 -0600
@@ -41,7 +41,7 @@
* A function pointer for iterating through the [iface@Gio.ActionGroup]s in
* a [class@ActionMenu].
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_AVAILABLE_TYPE_IN_0_1
typedef void (*BirbActionMenuForeachActionGroupFunc)(const char *prefix, GActionGroup *group, gpointer user_data);
@@ -65,7 +65,7 @@
* User interfaces can then call [method@ActionMenu.foreach_action_group] to
* handle the action groups.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_AVAILABLE_IN_0_1
G_DECLARE_FINAL_TYPE(BirbActionMenu, birb_action_menu,
@@ -78,7 +78,7 @@
*
* Returns: (transfer full): The new instance.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_AVAILABLE_IN_0_1
BirbActionMenu *birb_action_menu_new(void);
@@ -92,7 +92,7 @@
*
* Returns: (transfer none): The menu.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_AVAILABLE_IN_0_1
GMenu *birb_action_menu_get_menu(BirbActionMenu *menu);
@@ -108,7 +108,7 @@
*
* Returns: %TRUE if the prefix did not exist, otherwise %FALSE.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_AVAILABLE_IN_0_1
gboolean birb_action_menu_add_action_group(BirbActionMenu *menu, const char *prefix, GActionGroup *group);
@@ -122,7 +122,7 @@
* Calls @func with the prefix and action group from each item in @menu as well
* as @user_data.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_AVAILABLE_IN_0_1
void birb_action_menu_foreach_action_group(BirbActionMenu *menu, BirbActionMenuForeachActionGroupFunc func, gpointer user_data);
--- a/birb/birbqueuedoutputstream.h Thu Feb 22 19:05:14 2024 -0600
+++ b/birb/birbqueuedoutputstream.h Thu Feb 22 19:06:35 2024 -0600
@@ -49,7 +49,7 @@
*
* Error numbers for BirbOutputStream errors.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
typedef enum {
BIRB_QUEUED_OUTPUT_STREAM_ERROR_GENERIC,
@@ -76,7 +76,7 @@
* errors returned in the callback of
* [method@QueuedOutputStream.push_bytes_async].
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_AVAILABLE_IN_0_1
G_DECLARE_FINAL_TYPE(BirbQueuedOutputStream, birb_queued_output_stream,
@@ -91,7 +91,7 @@
*
* Returns: (transfer full): The new stream.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_AVAILABLE_IN_0_1
GOutputStream *birb_queued_output_stream_new(GOutputStream *base_stream);
@@ -113,7 +113,7 @@
* [method@Birb.QueuedOutputStream.clear_queue] to clear the queue on such
* an error to only report it a single time.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_AVAILABLE_IN_0_1
void birb_queued_output_stream_push_bytes_async(BirbQueuedOutputStream *stream, GBytes *bytes, int priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer data);
@@ -128,7 +128,7 @@
*
* Returns: %TRUE on success, %FALSE if there was an error
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_AVAILABLE_IN_0_1
gboolean birb_queued_output_stream_push_bytes_finish(BirbQueuedOutputStream *stream, GAsyncResult *result, GError **error);
@@ -145,7 +145,7 @@
* [method@Birb.QueuedOutputStream.push_bytes_async] calls on @stream return
* errors if there's a fatal stream error.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_AVAILABLE_IN_0_1
void birb_queued_output_stream_clear_queue(BirbQueuedOutputStream *stream);
--- a/birb/birbversion.h Thu Feb 22 19:05:14 2024 -0600
+++ b/birb/birbversion.h Thu Feb 22 19:06:35 2024 -0600
@@ -69,7 +69,7 @@
* A macro that evaluates to the current stable version of birb, in a format
* that can be used by the C pre-processor.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
#define BIRB_VERSION_CUR_STABLE \
(G_ENCODE_VERSION(BIRB_MAJOR_VERSION, BIRB_MINOR_VERSION))
@@ -110,7 +110,7 @@
* A macro that evaluates to the 0.1 version of birb, in a format that can be
* used by the C pre-processor.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
#define BIRB_VERSION_0_1 (G_ENCODE_VERSION(0, 1))
@@ -142,7 +142,7 @@
* Returns: %TRUE if the version is the same or newer than the passed-in
* version.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
#define BIRB_CHECK_VERSION(major, minor, micro) ((major) == BIRB_MAJOR_VERSION && \
((minor) < BIRB_MINOR_VERSION || \
@@ -159,7 +159,7 @@
* Returns: %NULL if the versions are compatible, or a string describing
* the version mismatch if not compatible.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_AVAILABLE_IN_ALL
const char *birb_check_version(guint required_major, guint required_minor, guint required_micro);
@@ -169,7 +169,7 @@
*
* The full version string of the running birb.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_VAR const char *birb_version;
@@ -180,7 +180,7 @@
* which expands at compile time to the major version of birb being compiled
* against.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_VAR const guint birb_major_version;
@@ -191,7 +191,7 @@
* which expands at compile time to the minor version of birb being compiled
* against.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_VAR const guint birb_minor_version;
@@ -202,7 +202,7 @@
* which expands at compile time to the micro version of birb being compiled
* against.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
BIRB_VAR const guint birb_micro_version;
--- a/birb/birbversionconsts.h.in Thu Feb 22 19:05:14 2024 -0600
+++ b/birb/birbversionconsts.h.in Thu Feb 22 19:06:35 2024 -0600
@@ -27,7 +27,7 @@
*
* The major version of the version of Birb that was compiled against.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
#define BIRB_MAJOR_VERSION (@BIRB_MAJOR_VERSION@)
@@ -36,7 +36,7 @@
*
* The minor version of the version of Birb that was compiled against.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
#define BIRB_MINOR_VERSION (@BIRB_MINOR_VERSION@)
@@ -45,7 +45,7 @@
*
* The micro version of the version of Birb that was compiled against.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
#define BIRB_MICRO_VERSION (@BIRB_MICRO_VERSION@)
@@ -54,7 +54,7 @@
*
* The extra version of the version of Birb that was compiled against.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
#define BIRB_EXTRA_VERSION ("@BIRB_EXTRA_VERSION@")
@@ -63,7 +63,7 @@
*
* The full version number for the version of Birb that was compiled against.
*
- * Since: 0.1.0
+ * Since: 0.1
*/
#define BIRB_VERSION ("@BIRB_VERSION@")