mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
gtk: add annotations for some GtkRadio* constructors
Since constructors like gtk_radio_button_new_from_widget take an instance of their type as the first argument, the gi scanner interprets them as methods. https://bugzilla.gnome.org/show_bug.cgi?id=661858
This commit is contained in:
parent
88329aeff4
commit
4ef61e2311
@ -483,7 +483,7 @@ gtk_radio_button_new_with_mnemonic (GSList *group,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_radio_button_new_from_widget:
|
* gtk_radio_button_new_from_widget: (constructor)
|
||||||
* @radio_group_member: (allow-none): an existing #GtkRadioButton.
|
* @radio_group_member: (allow-none): an existing #GtkRadioButton.
|
||||||
*
|
*
|
||||||
* Creates a new #GtkRadioButton, adding it to the same group as
|
* Creates a new #GtkRadioButton, adding it to the same group as
|
||||||
|
@ -298,7 +298,7 @@ gtk_radio_menu_item_new_with_mnemonic (GSList *group,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_radio_menu_item_new_from_widget:
|
* gtk_radio_menu_item_new_from_widget: (constructor)
|
||||||
* @group: An existing #GtkRadioMenuItem
|
* @group: An existing #GtkRadioMenuItem
|
||||||
*
|
*
|
||||||
* Creates a new #GtkRadioMenuItem adding it to the same group as @group.
|
* Creates a new #GtkRadioMenuItem adding it to the same group as @group.
|
||||||
@ -321,7 +321,7 @@ gtk_radio_menu_item_new_from_widget (GtkRadioMenuItem *group)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_radio_menu_item_new_with_mnemonic_from_widget:
|
* gtk_radio_menu_item_new_with_mnemonic_from_widget: (constructor)
|
||||||
* @group: An existing #GtkRadioMenuItem
|
* @group: An existing #GtkRadioMenuItem
|
||||||
* @label: the text of the button, with an underscore in front of the
|
* @label: the text of the button, with an underscore in front of the
|
||||||
* mnemonic character
|
* mnemonic character
|
||||||
@ -351,7 +351,7 @@ gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_radio_menu_item_new_with_label_from_widget:
|
* gtk_radio_menu_item_new_with_label_from_widget: (constructor)
|
||||||
* @group: an existing #GtkRadioMenuItem
|
* @group: an existing #GtkRadioMenuItem
|
||||||
* @label: the text for the label
|
* @label: the text for the label
|
||||||
*
|
*
|
||||||
|
@ -184,7 +184,7 @@ gtk_radio_tool_button_new_from_stock (GSList *group,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_radio_tool_button_new_from_widget:
|
* gtk_radio_tool_button_new_from_widget: (constructor)
|
||||||
* @group: (allow-none): An existing #GtkRadioToolButton, or %NULL
|
* @group: (allow-none): An existing #GtkRadioToolButton, or %NULL
|
||||||
*
|
*
|
||||||
* Creates a new #GtkRadioToolButton adding it to the same group as @gruup
|
* Creates a new #GtkRadioToolButton adding it to the same group as @gruup
|
||||||
@ -207,7 +207,7 @@ gtk_radio_tool_button_new_from_widget (GtkRadioToolButton *group)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_radio_tool_button_new_with_stock_from_widget:
|
* gtk_radio_tool_button_new_with_stock_from_widget: (constructor)
|
||||||
* @group: (allow-none): An existing #GtkRadioToolButton.
|
* @group: (allow-none): An existing #GtkRadioToolButton.
|
||||||
* @stock_id: the name of a stock item
|
* @stock_id: the name of a stock item
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user