summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-02-05 20:13:20 +0100
committerMatthias Clasen <mclasen@redhat.com>2018-02-06 01:16:32 -0500
commit4c150d8eb518c35c484802e5cd7da572e4030f25 (patch)
tree8867f973fd6c9737b5d7f05d6945817f354a37e2 /gtk/gtktoolbutton.c
parent2616e6857cc136c654b64dd16839ddf89f4b5c62 (diff)
downloadgtk+-4c150d8eb518c35c484802e5cd7da572e4030f25.tar.gz
The big versioning cleanup
Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
Diffstat (limited to 'gtk/gtktoolbutton.c')
-rw-r--r--gtk/gtktoolbutton.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c
index 5f25715863..bd317d69f9 100644
--- a/gtk/gtktoolbutton.c
+++ b/gtk/gtktoolbutton.c
@@ -233,8 +233,6 @@ gtk_tool_button_class_init (GtkToolButtonClass *klass)
* The name of the themed icon displayed on the item.
* This property only has an effect if not overridden by
* #GtkToolButton:label-widget or #GtkToolButton:icon-widget
- *
- * Since: 2.8
*/
g_object_class_install_property (object_class,
PROP_ICON_NAME,
@@ -832,8 +830,6 @@ gtk_tool_button_toolbar_reconfigured (GtkToolItem *tool_item)
* label.
*
* Returns: A new #GtkToolButton
- *
- * Since: 2.4
**/
GtkToolItem *
gtk_tool_button_new (GtkWidget *icon_widget,
@@ -860,8 +856,6 @@ gtk_tool_button_new (GtkWidget *icon_widget,
* property only has an effect if not overridden by a non-%NULL
* #GtkToolButton:label-widget property. If both the #GtkToolButton:label-widget
* and #GtkToolButton:label properties are %NULL, @button will not have a label.
- *
- * Since: 2.4
**/
void
gtk_tool_button_set_label (GtkToolButton *button,
@@ -900,8 +894,6 @@ gtk_tool_button_set_label (GtkToolButton *button,
* string is owned by GTK+, and must not be modified or freed.
*
* Returns: (nullable) (transfer none): The label, or %NULL
- *
- * Since: 2.4
**/
const gchar *
gtk_tool_button_get_label (GtkToolButton *button)
@@ -924,8 +916,6 @@ gtk_tool_button_get_label (GtkToolButton *button)
*
* Labels shown on tool buttons never have mnemonics on them; this property
* only affects the menu item on the overflow menu.
- *
- * Since: 2.4
**/
void
gtk_tool_button_set_use_underline (GtkToolButton *button,
@@ -953,8 +943,6 @@ gtk_tool_button_set_use_underline (GtkToolButton *button,
*
* Returns: %TRUE if underscores in the label property are used as
* mnemonics on menu items on the overflow menu.
- *
- * Since: 2.4
**/
gboolean
gtk_tool_button_get_use_underline (GtkToolButton *button)
@@ -974,8 +962,6 @@ gtk_tool_button_get_use_underline (GtkToolButton *button)
* The #GtkToolButton:icon-name property only has an effect if not
* overridden by non-%NULL #GtkToolButton:label-widget or
* #GtkToolButton:icon-widget properties.
- *
- * Since: 2.8
**/
void
gtk_tool_button_set_icon_name (GtkToolButton *button,
@@ -1004,8 +990,6 @@ gtk_tool_button_set_icon_name (GtkToolButton *button,
*
* Returns: (nullable): the icon name or %NULL if the tool button has
* no themed icon
- *
- * Since: 2.8
**/
const gchar*
gtk_tool_button_get_icon_name (GtkToolButton *button)
@@ -1021,8 +1005,6 @@ gtk_tool_button_get_icon_name (GtkToolButton *button)
* @icon_widget: (allow-none): the widget used as icon, or %NULL
*
* Sets @icon as the widget used as icon on @button.
- *
- * Since: 2.4
**/
void
gtk_tool_button_set_icon_widget (GtkToolButton *button,
@@ -1063,8 +1045,6 @@ gtk_tool_button_set_icon_widget (GtkToolButton *button,
* Sets @label_widget as the widget that will be used as the label
* for @button. If @label_widget is %NULL the #GtkToolButton:label property is used
* as label. If #GtkToolButton:label is also %NULL, @button does not have a label.
- *
- * Since: 2.4
**/
void
gtk_tool_button_set_label_widget (GtkToolButton *button,
@@ -1106,8 +1086,6 @@ gtk_tool_button_set_label_widget (GtkToolButton *button,
*
* Returns: (nullable) (transfer none): The widget used as label
* on @button, or %NULL.
- *
- * Since: 2.4
**/
GtkWidget *
gtk_tool_button_get_label_widget (GtkToolButton *button)
@@ -1126,8 +1104,6 @@ gtk_tool_button_get_label_widget (GtkToolButton *button)
*
* Returns: (nullable) (transfer none): The widget used as icon
* on @button, or %NULL.
- *
- * Since: 2.4
**/
GtkWidget *
gtk_tool_button_get_icon_widget (GtkToolButton *button)