Revert "Two corrections and added method linking that show up in docs"
authorCam Cook <cam.cook@linux.com>
Sat, 15 Apr 2023 16:40:22 +0000 (12:40 -0400)
committerCam Cook <cam.cook@linux.com>
Sat, 15 Apr 2023 16:40:22 +0000 (12:40 -0400)
This reverts commit c7f30ecdfdb70fd8d4fcc02a4a576dfee0991e28.

gtk/gtkbox.c
gtk/gtkcenterbox.c
gtk/gtkentry.c
gtk/gtkfixed.c
gtk/gtkflowbox.c

index cd7827e65af7a9d18c1ba03237cf0744828bceee..a1ae76fa8f0187a930b61fd581e89788d8d1ff0d 100644 (file)
@@ -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
  */
index 503e56e12aefeac55890f769099fc2f73f601f6a..367c0eab0bfe084182d9b58780f347e5e14b62ae 100644 (file)
@@ -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
  */
index 65e1ebe6a33820e330fcbb84b346353e1cc6bf2f..bfe68899c93a339fca3b5fac83aa77c96dad661a 100644 (file)
@@ -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
  */
index 0657fc9419a017ac0dcda4ac71441a86b20a39ac..1ad36aa78dc10c7746dfd35ec4888b549215415a 100644 (file)
@@ -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`
  */
index 35da12979e3c4652c889e83b4755d467551c02f0..8650c5a51edf33f77b9166e86adbdab9af957d78 100644 (file)
@@ -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),