From 103564002073b9935a41a9755f480e96ceed1bcf Mon Sep 17 00:00:00 2001 From: Cam Cook Date: Sat, 15 Apr 2023 12:40:22 -0400 Subject: [PATCH] Revert "Two corrections and added method linking that show up in docs" This reverts commit c7f30ecdfdb70fd8d4fcc02a4a576dfee0991e28. --- gtk/gtkbox.c | 4 ++-- gtk/gtkcenterbox.c | 2 +- gtk/gtkentry.c | 12 ++++++------ gtk/gtkfixed.c | 2 +- gtk/gtkflowbox.c | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index cd7827e65a..a1ae76fa8f 100644 --- a/gtk/gtkbox.c +++ b/gtk/gtkbox.c @@ -409,7 +409,7 @@ gtk_box_set_spacing (GtkBox *box, * gtk_box_get_spacing: (attributes org.gtk.Method.get_property=spacing) * @box: a `GtkBox` * - * Gets the value set by [method@Gtk.Box.set_spacing]. + * Gets the value set by gtk_box_set_spacing(). * * Returns: spacing between children */ @@ -458,7 +458,7 @@ gtk_box_set_baseline_position (GtkBox *box, * gtk_box_get_baseline_position: (attributes org.gtk.Method.get_property=baseline-position) * @box: a `GtkBox` * - * Gets the value set by [method@Gtk.Box.set_baseline_position]. + * Gets the value set by gtk_box_set_baseline_position(). * * Returns: the baseline position */ diff --git a/gtk/gtkcenterbox.c b/gtk/gtkcenterbox.c index 503e56e12a..367c0eab0b 100644 --- a/gtk/gtkcenterbox.c +++ b/gtk/gtkcenterbox.c @@ -497,7 +497,7 @@ gtk_center_box_set_baseline_position (GtkCenterBox *self, * gtk_center_box_get_baseline_position: (attributes org.gtk.Method.get_property=baseline-position) * @self: a `GtkCenterBox` * - * Gets the value set by [method@Gtk.CenterBox.set_baseline_position]. + * Gets the value set by gtk_center_box_set_baseline_position(). * * Returns: the baseline position */ diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 65e1ebe6a3..bfe68899c9 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -2098,7 +2098,7 @@ gtk_entry_get_visibility (GtkEntry *entry) } /** - * gtk_entry_set_invisible_char: (attributes org.gtk.Method.set_property=invisible-char) + * gtk_entry_set_invisible_char: (attributes org.gtk.Method.sets_property=invisible-char) * @entry: a `GtkEntry` * @ch: a Unicode character * @@ -2293,7 +2293,7 @@ gtk_entry_set_activates_default (GtkEntry *entry, * gtk_entry_get_activates_default: (attributes org.gtk.Method.get_property=activates-default) * @entry: a `GtkEntry` * - * Retrieves the value set by [method@Gtk.Entry.set_activates_default]. + * Retrieves the value set by gtk_entry_set_activates_default(). * * Returns: %TRUE if the entry will activate the default widget */ @@ -2337,7 +2337,7 @@ gtk_entry_set_has_frame (GtkEntry *entry, * gtk_entry_get_has_frame: (attributes org.gtk.Method.get_property=has-frame) * @entry: a `GtkEntry` * - * Gets the value set by [method@Gtk.Entry.set_has_frame]. + * Gets the value set by gtk_entry_set_has_frame(). * * Returns: whether the entry has a beveled frame */ @@ -2377,7 +2377,7 @@ gtk_entry_set_alignment (GtkEntry *entry, * gtk_entry_get_alignment: * @entry: a `GtkEntry` * - * Gets the value set by [method@Gtk.Entry.set_alignment]. + * Gets the value set by gtk_entry_set_alignment(). * * See also: [property@Gtk.Editable:xalign] * @@ -3369,7 +3369,7 @@ gtk_entry_set_progress_pulse_step (GtkEntry *entry, * @entry: a `GtkEntry` * * Retrieves the pulse step set with - * [method@Gtk.Entry.set_progress_pulse_step]. + * gtk_entry_set_progress_pulse_step(). * * Returns: a fraction from 0.0 to 1.0 */ @@ -3724,7 +3724,7 @@ gtk_entry_set_extra_menu (GtkEntry *entry, * gtk_entry_get_extra_menu: (attributes org.gtk.Method.get_property=extra-menu) * @entry: a `GtkEntry` * - * Gets the menu model set with [method@Gtk.Entry.set_extra_menu]. + * Gets the menu model set with gtk_entry_set_extra_menu(). * * Returns: (transfer none) (nullable): the menu model */ diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c index 0657fc9419..1ad36aa78d 100644 --- a/gtk/gtkfixed.c +++ b/gtk/gtkfixed.c @@ -311,7 +311,7 @@ gtk_fixed_set_child_transform (GtkFixed *fixed, * @widget: a `GtkWidget`, child of @fixed * * Retrieves the transformation for @widget set using - * [method@Gtk.Fixed.set_child_transform]. + * gtk_fixed_set_child_transform(). * * Returns: (transfer none) (nullable): a `GskTransform` */ diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c index 35da12979e..8650c5a51e 100644 --- a/gtk/gtkflowbox.c +++ b/gtk/gtkflowbox.c @@ -538,7 +538,7 @@ gtk_flow_box_child_class_init (GtkFlowBoxChildClass *class) * * Emitted when the user activates a child widget in a `GtkFlowBox`. * - * This can happen either by clicking or double-clicking, + * This can be happen either by clicking or double-clicking, * or via a keybinding. * * This is a [keybinding signal](class.SignalAction.html), -- 2.30.2