From: Emmanuele Bassi Date: Sun, 30 Oct 2022 20:08:21 +0000 (+0000) Subject: docs: Add missing Since annotations X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~9^2~127^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=37fadb20a96ff5f4c959ce94d4a1aed3e136c384;p=gtk4.git docs: Add missing Since annotations --- 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 */