[gnome-builder] libide-core: update object-box availability



commit a3d5da609d8a657094297b8f9fa410223f6a794e
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jul 11 16:33:01 2022 -0700

    libide-core: update object-box availability

 src/libide/core/ide-object-box.c    | 12 ------------
 src/libide/core/ide-object-box.h    | 10 +++++-----
 src/libide/core/ide-object-notify.c |  4 ----
 3 files changed, 5 insertions(+), 21 deletions(-)
---
diff --git a/src/libide/core/ide-object-box.c b/src/libide/core/ide-object-box.c
index 6524c0b8a..08dd2f529 100644
--- a/src/libide/core/ide-object-box.c
+++ b/src/libide/core/ide-object-box.c
@@ -61,8 +61,6 @@ ide_object_box_set_object (IdeObjectBox *self,
  * Create a new #IdeObjectBox.
  *
  * Returns: (transfer full): a newly created #IdeObjectBox
- *
- * Since: 3.32
  */
 IdeObjectBox *
 ide_object_box_new (GObject *object)
@@ -177,8 +175,6 @@ ide_object_box_class_init (IdeObjectBoxClass *klass)
    *
    * The "object" property contains the object that is boxed and
    * placed onto the object graph using this box.
-   *
-   * Since: 3.32
    */
   properties [PROP_OBJECT] =
     g_param_spec_object ("object",
@@ -196,8 +192,6 @@ ide_object_box_class_init (IdeObjectBoxClass *klass)
    *
    * This is useful when you want to force disposal of an external object
    * when @self is removed from the object tree.
-   *
-   * Since: 3.32
    */
   properties [PROP_PROPAGATE_DISPOSAL] =
     g_param_spec_boolean ("propagate-disposal",
@@ -222,8 +216,6 @@ ide_object_box_init (IdeObjectBox *self)
  * Gets the boxed object.
  *
  * Returns: (transfer full) (nullable) (type GObject): a #GObject or %NULL
- *
- * Since: 3.32
  */
 gpointer
 ide_object_box_ref_object (IdeObjectBox *self)
@@ -249,8 +241,6 @@ ide_object_box_ref_object (IdeObjectBox *self)
  * This function may only be called from the main thread.
  *
  * Returns: (transfer none): an #IdeObjectBox
- *
- * Since: 3.32
  */
 IdeObjectBox *
 ide_object_box_from_object (GObject *object)
@@ -269,8 +259,6 @@ ide_object_box_from_object (GObject *object)
  * Checks if @self contains @instance.
  *
  * Returns: %TRUE if #IdeObjectBox:object matches @instance
- *
- * Since: 3.32
  */
 gboolean
 ide_object_box_contains (IdeObjectBox *self,
diff --git a/src/libide/core/ide-object-box.h b/src/libide/core/ide-object-box.h
index eb81085fb..f6544d7c2 100644
--- a/src/libide/core/ide-object-box.h
+++ b/src/libide/core/ide-object-box.h
@@ -30,16 +30,16 @@ G_BEGIN_DECLS
 
 #define IDE_TYPE_OBJECT_BOX (ide_object_box_get_type())
 
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
 G_DECLARE_FINAL_TYPE (IdeObjectBox, ide_object_box, IDE, OBJECT_BOX, IdeObject)
 
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
 IdeObjectBox *ide_object_box_new         (GObject      *object);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
 gpointer      ide_object_box_ref_object  (IdeObjectBox *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
 IdeObjectBox *ide_object_box_from_object (GObject      *object);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
 gboolean      ide_object_box_contains    (IdeObjectBox *self,
                                           gpointer      instance);
 
diff --git a/src/libide/core/ide-object-notify.c b/src/libide/core/ide-object-notify.c
index 42cfe92ed..1b4b37434 100644
--- a/src/libide/core/ide-object-notify.c
+++ b/src/libide/core/ide-object-notify.c
@@ -56,8 +56,6 @@ ide_object_notify_in_main_cb (gpointer data)
  *
  * Like g_object_notify_by_pspec() if the caller is in the main-thread.
  * Otherwise, the request is deferred to the main thread.
- *
- * Since: 3.32
  */
 void
 ide_object_notify_by_pspec (gpointer    instance,
@@ -94,8 +92,6 @@ ide_object_notify_by_pspec (gpointer    instance,
  *
  * This will *always* return to the default main context, and never
  * emit ::notify immediately.
- *
- * Since: 3.32
  */
 void
 ide_object_notify_in_main (gpointer    instance,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]