mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
docs: Fix {g,s}et_property attributes annotations
Do not use set_property on getters and vice versa.
This commit is contained in:
parent
7a98176a02
commit
6b6a0e1257
@ -1129,7 +1129,7 @@ gtk_about_dialog_set_copyright (GtkAboutDialog *about,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_about_dialog_get_comments: (attributes org.gtk.Method.set_property=comments)
|
* gtk_about_dialog_get_comments: (attributes org.gtk.Method.get_property=comments)
|
||||||
* @about: a `GtkAboutDialog`
|
* @about: a `GtkAboutDialog`
|
||||||
*
|
*
|
||||||
* Returns the comments string.
|
* Returns the comments string.
|
||||||
|
@ -1212,7 +1212,7 @@ gtk_drop_down_set_enable_search (GtkDropDown *self,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_drop_down_get_enable_search: (attributes org.gtk.Method.set_property=enable-search)
|
* gtk_drop_down_get_enable_search: (attributes org.gtk.Method.get_property=enable-search)
|
||||||
* @self: a `GtkDropDown`
|
* @self: a `GtkDropDown`
|
||||||
*
|
*
|
||||||
* Returns whether search is enabled.
|
* Returns whether search is enabled.
|
||||||
@ -1307,7 +1307,7 @@ gtk_drop_down_set_show_arrow (GtkDropDown *self,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_drop_down_get_show_arrow: (attributes org.gtk.Method.set_property=show-arrow)
|
* gtk_drop_down_get_show_arrow: (attributes org.gtk.Method.get_property=show-arrow)
|
||||||
* @self: a `GtkDropDown`
|
* @self: a `GtkDropDown`
|
||||||
*
|
*
|
||||||
* Returns whether to show an arrow within the widget.
|
* Returns whether to show an arrow within the widget.
|
||||||
|
@ -397,7 +397,7 @@ update_accessible_relation (GtkFrame *frame)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_frame_set_label_widget: (attributes org.gtk.Method.get_property=label-widget)
|
* gtk_frame_set_label_widget: (attributes org.gtk.Method.set_property=label-widget)
|
||||||
* @frame: a `GtkFrame`
|
* @frame: a `GtkFrame`
|
||||||
* @label_widget: (nullable): the new label widget
|
* @label_widget: (nullable): the new label widget
|
||||||
*
|
*
|
||||||
|
@ -1259,7 +1259,7 @@ gtk_list_view_set_single_click_activate (GtkListView *self,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_list_view_get_single_click_activate: (attributes org.gtk.Method.set_property=single-click-activate)
|
* gtk_list_view_get_single_click_activate: (attributes org.gtk.Method.get_property=single-click-activate)
|
||||||
* @self: a `GtkListView`
|
* @self: a `GtkListView`
|
||||||
*
|
*
|
||||||
* Returns whether rows will be activated on single click and
|
* Returns whether rows will be activated on single click and
|
||||||
|
@ -3221,7 +3221,7 @@ gtk_print_unix_dialog_set_settings (GtkPrintUnixDialog *dialog,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_print_unix_dialog_get_settings: (attributes org.gtk.Method.set_property=print-settings)
|
* gtk_print_unix_dialog_get_settings: (attributes org.gtk.Method.get_property=print-settings)
|
||||||
* @dialog: a `GtkPrintUnixDialog`
|
* @dialog: a `GtkPrintUnixDialog`
|
||||||
*
|
*
|
||||||
* Gets a new `GtkPrintSettings` object that represents the
|
* Gets a new `GtkPrintSettings` object that represents the
|
||||||
|
Loading…
Reference in New Issue
Block a user