mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-30 11:07:38 +00:00
Add GtkBuilder and GtkDialog annotations for tranfer and scope
Cherrypicked from master commit c78a23bd
.
This commit is contained in:
parent
caf389649a
commit
8253735ed1
@ -1061,7 +1061,7 @@ gtk_builder_connect_signals (GtkBuilder *builder,
|
|||||||
/**
|
/**
|
||||||
* gtk_builder_connect_signals_full:
|
* gtk_builder_connect_signals_full:
|
||||||
* @builder: a #GtkBuilder
|
* @builder: a #GtkBuilder
|
||||||
* @func: the function used to connect the signals
|
* @func: (scope call): the function used to connect the signals
|
||||||
* @user_data: arbitrary data that will be passed to the connection function
|
* @user_data: arbitrary data that will be passed to the connection function
|
||||||
*
|
*
|
||||||
* This function can be thought of the interpreted language binding
|
* This function can be thought of the interpreted language binding
|
||||||
|
@ -696,7 +696,7 @@ gtk_dialog_add_action_widget (GtkDialog *dialog,
|
|||||||
* appended to the end of the dialog's action area. The button widget is
|
* appended to the end of the dialog's action area. The button widget is
|
||||||
* returned, but usually you don't need it.
|
* returned, but usually you don't need it.
|
||||||
*
|
*
|
||||||
* Return value: the button widget that was added
|
* Return value: (transfer full): the button widget that was added
|
||||||
**/
|
**/
|
||||||
GtkWidget*
|
GtkWidget*
|
||||||
gtk_dialog_add_button (GtkDialog *dialog,
|
gtk_dialog_add_button (GtkDialog *dialog,
|
||||||
@ -1132,7 +1132,7 @@ _gtk_dialog_set_ignore_separator (GtkDialog *dialog,
|
|||||||
* Gets the widget button that uses the given response ID in the action area
|
* Gets the widget button that uses the given response ID in the action area
|
||||||
* of a dialog.
|
* of a dialog.
|
||||||
*
|
*
|
||||||
* Returns: the @widget button that uses the given @response_id, or %NULL.
|
* Returns: (transfer none):the @widget button that uses the given @response_id, or %NULL.
|
||||||
*
|
*
|
||||||
* Since: 2.20
|
* Since: 2.20
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user