docs: Add missing Since annotations
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 30 Oct 2022 20:08:21 +0000 (20:08 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 30 Oct 2022 20:08:21 +0000 (20:08 +0000)
gtk/gtkalertdialog.c
gtk/gtkcolordialog.c
gtk/gtkcolordialogbutton.c
gtk/gtkfiledialog.c
gtk/gtkfontdialog.c
gtk/gtkfontdialogbutton.c

index 40e67462162d5231a76139116502ded1cd4fc138..a3dabb58452a39eb8df1d4a0b7b002aaa3b33598 100644 (file)
@@ -38,7 +38,7 @@
  * If you don't need to wait for a button to be clicked, you can use
  * [method@Gtk.AlertDialog.show].
  *
- * `GtkAlertDialog was added in GTK 4.10.
+ * Since: 4.10
  */
 
 /* {{{ GObject implementation */
@@ -402,7 +402,7 @@ gtk_alert_dialog_set_message (GtkAlertDialog *self,
 
   if (g_strcmp0 (self->message, message) == 0)
     return;
+
   new_message = g_strdup (message);
   g_free (self->message);
   self->message = new_message;
index ec53c8d0d3aa7ec129f7e7b3189a735ec8f804a3..f5d008b896d29430733075c268bb25f85be88f9b 100644 (file)
@@ -43,7 +43,7 @@
  * See [class@Gtk.ColorDialogButton] for a convenient control
  * that uses `GtkColorDialog` and presents the results.
  *
- * `GtkColorDialog was added in GTK 4.10.
+ * Since: 4.10
  */
 /* {{{ GObject implementation */
 
index 5b4aaf054c0bb6a51a5087d33e9373247975a127..6e0db26f01758f9e48d59a7491c4464857fd6665 100644 (file)
@@ -70,6 +70,8 @@ static void     update_button_sensitivity
  * `GtkColorDialogButton` has a single CSS node with name colorbutton which
  * contains a button node. To differentiate it from a plain `GtkButton`,
  * it gets the .color style class.
+ *
+ * Since: 4.10
  */
 
 /* {{{ GObject implementation */
index d04598b996f6b4d6f9976add0ad2e53b6c1d9ce8..e32f330442eba3f0c54543fcc185c1e5b1075c0d 100644 (file)
@@ -40,7 +40,7 @@
  * the corresponding finish function, for example
  * [method@Gtk.FileDialog.open_finish].
  *
- * `GtkFileDialog was added in GTK 4.10.
+ * Since: 4.10
  */
 
 /* {{{ GObject implementation */
index 44d8757159c1dd3654416af5228b684657a4fcd9..f51633715cb11be160074df423a36b76b5727f0b 100644 (file)
@@ -44,7 +44,7 @@
  * See [class@Gtk.FontDialogButton] for a convenient control
  * that uses `GtkFontDialog` and presents the results.
  *
- * `GtkFontDialog was added in GTK 4.10.
+ * Since: 4.10
  */
 
 /* {{{ GObject implementation */
index 8518a20f35ad598bfbea7367f39f762ed46c7729..ff466a2003c2facfc35b9d4344ec777ca1fe95a4 100644 (file)
@@ -57,6 +57,8 @@ static void     update_button_sensitivity
  *
  * `GtkFontDialogButton` has a single CSS node with name fontbutton which
  * contains a button node with the .font style class.
+ *
+ * Since: 4.10
  */
 
 /* {{{ GObject implementation */