summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2022-10-30 20:08:21 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2022-10-30 20:08:21 +0000
commit37fadb20a96ff5f4c959ce94d4a1aed3e136c384 (patch)
tree77245be214e1e4d97d0b527805dc2f4fcdb85bdf /gtk
parent1c3f179a20bf7537691216c28332f00c651a577f (diff)
downloadgtk+-37fadb20a96ff5f4c959ce94d4a1aed3e136c384.tar.gz
docs: Add missing Since annotations
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkalertdialog.c4
-rw-r--r--gtk/gtkcolordialog.c2
-rw-r--r--gtk/gtkcolordialogbutton.c2
-rw-r--r--gtk/gtkfiledialog.c2
-rw-r--r--gtk/gtkfontdialog.c2
-rw-r--r--gtk/gtkfontdialogbutton.c2
6 files changed, 9 insertions, 5 deletions
diff --git a/gtk/gtkalertdialog.c b/gtk/gtkalertdialog.c
index 40e6746216..a3dabb5845 100644
--- a/gtk/gtkalertdialog.c
+++ b/gtk/gtkalertdialog.c
@@ -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;
diff --git a/gtk/gtkcolordialog.c b/gtk/gtkcolordialog.c
index ec53c8d0d3..f5d008b896 100644
--- a/gtk/gtkcolordialog.c
+++ b/gtk/gtkcolordialog.c
@@ -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 */
diff --git a/gtk/gtkcolordialogbutton.c b/gtk/gtkcolordialogbutton.c
index 5b4aaf054c..6e0db26f01 100644
--- a/gtk/gtkcolordialogbutton.c
+++ b/gtk/gtkcolordialogbutton.c
@@ -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 */
diff --git a/gtk/gtkfiledialog.c b/gtk/gtkfiledialog.c
index d04598b996..e32f330442 100644
--- a/gtk/gtkfiledialog.c
+++ b/gtk/gtkfiledialog.c
@@ -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 */
diff --git a/gtk/gtkfontdialog.c b/gtk/gtkfontdialog.c
index 44d8757159..f51633715c 100644
--- a/gtk/gtkfontdialog.c
+++ b/gtk/gtkfontdialog.c
@@ -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 */
diff --git a/gtk/gtkfontdialogbutton.c b/gtk/gtkfontdialogbutton.c
index 8518a20f35..ff466a2003 100644
--- a/gtk/gtkfontdialogbutton.c
+++ b/gtk/gtkfontdialogbutton.c
@@ -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 */