diff options
author | Cam Cook <cam.cook@linux.com> | 2023-04-15 12:08:46 -0400 |
---|---|---|
committer | Cam Cook <cam.cook@linux.com> | 2023-04-15 12:08:46 -0400 |
commit | c7f30ecdfdb70fd8d4fcc02a4a576dfee0991e28 (patch) | |
tree | 1b44773349845a7f1e8dadc6a84c464869cd798b | |
parent | d6a27a41c2f793f8e7ce7ecb826f912f2f968612 (diff) | |
download | gtk+-c7f30ecdfdb70fd8d4fcc02a4a576dfee0991e28.tar.gz |
Two corrections and added method linking that show up in docs
| method | current | suggestion |
|-------------------------------------------------------------------------------------------------|------------------------------------------------------------|-----------------------------------------------------------|
| [Entry/set_invisible_char](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkentry.c#L2101) | "(attributes org.gtk.Method.sets_property=invisible-char)" | "(attributes org.gtk.Method.set_property=invisible-char)" |
| [FlowBox::activate](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkflowbox.c#L541) | "This can be happen either by" | "This can happen either by" |
| method | current | suggestion |
|-----------------------------------------------------------------------------------------------------------|--------------------------------------------------------|--------------------------------------------------------------|
| [Box/get_baseline_position](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkbox.c#L461) | "value set by gtk_box_set_baseline_position()." | "value set by [method@Gtk.Box.set_baseline_position]." |
| [Box/get_spacing](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkbox.c#L412) | "value set by gtk_box_set_spacing()." | "value set by [method@Gtk.Box.set_spacing]." |
| [CenterBox/get_baseline_position](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkcenterbox.c#L528) | "value set by gtk_center_box_set_baseline_position()." | "value set by [method@Gtk.CenterBox.set_baseline_position]." |
| [Entry/get_activates_default](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkentry.c#L2296) | "value set by gtk_entry_set_activates_default()." | "value set by [method@Gtk.Entry.set_activates_default]." |
| [Entry/get_alignment](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkentry.c#L2380) | "value set by gtk_entry_set_alignment()." | "value set by [method@Gtk.Entry.set_alignment]." |
| [Entry/get_extra_menu](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkentry.c#L3727) | "set with gtk_entry_set_extra_menu()." | "set with [method@Gtk.Entry.set_extra_menu]." |
| [Entry/get_has_frame](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkentry.c#L2340) | "value set by gtk_entry_set_has_frame()." | "value set by [method@Gtk.Entry.set_has_frame]." |
| [Entry/get_progress_pulse_step](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkentry.c#L3372) | "set with gtk_entry_set_progress_pulse_step()." | "set with [method@Gtk.Entry.set_progress_pulse_step]." |
| [Fixed/get_child_transform](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkfixed.c#L314) | "set using gtk_fixed_set_child_transform()." | "set using [method@Gtk.Fixed.set_child_transform]." |
-rw-r--r-- | gtk/gtkbox.c | 4 | ||||
-rw-r--r-- | gtk/gtkcenterbox.c | 2 | ||||
-rw-r--r-- | gtk/gtkentry.c | 12 | ||||
-rw-r--r-- | gtk/gtkfixed.c | 2 | ||||
-rw-r--r-- | gtk/gtkflowbox.c | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index a1ae76fa8f..cd7827e65a 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 gtk_box_set_spacing(). + * Gets the value set by [method@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 gtk_box_set_baseline_position(). + * Gets the value set by [method@Gtk.Box.set_baseline_position]. * * Returns: the baseline position */ diff --git a/gtk/gtkcenterbox.c b/gtk/gtkcenterbox.c index 367c0eab0b..503e56e12a 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 gtk_center_box_set_baseline_position(). + * Gets the value set by [method@Gtk.CenterBox.set_baseline_position]. * * Returns: the baseline position */ diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index bfe68899c9..65e1ebe6a3 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.sets_property=invisible-char) + * gtk_entry_set_invisible_char: (attributes org.gtk.Method.set_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 gtk_entry_set_activates_default(). + * Retrieves the value set by [method@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 gtk_entry_set_has_frame(). + * Gets the value set by [method@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 gtk_entry_set_alignment(). + * Gets the value set by [method@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 - * gtk_entry_set_progress_pulse_step(). + * [method@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 gtk_entry_set_extra_menu(). + * Gets the menu model set with [method@Gtk.Entry.set_extra_menu]. * * Returns: (transfer none) (nullable): the menu model */ diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c index 1ad36aa78d..0657fc9419 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 - * gtk_fixed_set_child_transform(). + * [method@Gtk.Fixed.set_child_transform]. * * Returns: (transfer none) (nullable): a `GskTransform` */ diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c index 8650c5a51e..35da12979e 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 be happen either by clicking or double-clicking, + * This can happen either by clicking or double-clicking, * or via a keybinding. * * This is a [keybinding signal](class.SignalAction.html), |