diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-02-05 20:13:20 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-02-06 01:16:32 -0500 |
commit | 4c150d8eb518c35c484802e5cd7da572e4030f25 (patch) | |
tree | 8867f973fd6c9737b5d7f05d6945817f354a37e2 /gtk/gtktoolitem.c | |
parent | 2616e6857cc136c654b64dd16839ddf89f4b5c62 (diff) | |
download | gtk+-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/gtktoolitem.c')
-rw-r--r-- | gtk/gtktoolitem.c | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c index ad132a0513..ab0f78b7ef 100644 --- a/gtk/gtktoolitem.c +++ b/gtk/gtktoolitem.c @@ -318,8 +318,6 @@ _gtk_tool_item_create_menu_proxy (GtkToolItem *item) * Creates a new #GtkToolItem * * Returns: the new #GtkToolItem - * - * Since: 2.4 **/ GtkToolItem * gtk_tool_item_new (void) @@ -341,8 +339,6 @@ gtk_tool_item_new (void) * * Returns: a #PangoEllipsizeMode indicating how text in @tool_item * should be ellipsized. - * - * Since: 2.20 **/ PangoEllipsizeMode gtk_tool_item_get_ellipsize_mode (GtkToolItem *tool_item) @@ -368,8 +364,6 @@ gtk_tool_item_get_ellipsize_mode (GtkToolItem *tool_item) * * Returns: a #GtkOrientation indicating the orientation * used for @tool_item - * - * Since: 2.4 **/ GtkOrientation gtk_tool_item_get_orientation (GtkToolItem *tool_item) @@ -404,8 +398,6 @@ gtk_tool_item_get_orientation (GtkToolItem *tool_item) * * Returns: A #GtkToolbarStyle indicating the toolbar style used * for @tool_item. - * - * Since: 2.4 **/ GtkToolbarStyle gtk_tool_item_get_toolbar_style (GtkToolItem *tool_item) @@ -431,8 +423,6 @@ gtk_tool_item_get_toolbar_style (GtkToolItem *tool_item) * * Returns: a #gfloat indicating the horizontal text alignment * used for @tool_item - * - * Since: 2.20 **/ gfloat gtk_tool_item_get_text_alignment (GtkToolItem *tool_item) @@ -458,8 +448,6 @@ gtk_tool_item_get_text_alignment (GtkToolItem *tool_item) * * Returns: a #GtkOrientation indicating the text orientation * used for @tool_item - * - * Since: 2.20 */ GtkOrientation gtk_tool_item_get_text_orientation (GtkToolItem *tool_item) @@ -484,8 +472,6 @@ gtk_tool_item_get_text_orientation (GtkToolItem *tool_item) * and use the size group for labels. * * Returns: (transfer none): a #GtkSizeGroup - * - * Since: 2.20 */ GtkSizeGroup * gtk_tool_item_get_text_size_group (GtkToolItem *tool_item) @@ -510,8 +496,6 @@ gtk_tool_item_get_text_size_group (GtkToolItem *tool_item) * is more room on the toolbar then needed for the items. The * effect is that the item gets bigger when the toolbar gets bigger * and smaller when the toolbar gets smaller. - * - * Since: 2.4 */ void gtk_tool_item_set_expand (GtkToolItem *tool_item, @@ -537,8 +521,6 @@ gtk_tool_item_set_expand (GtkToolItem *tool_item, * See gtk_tool_item_set_expand(). * * Returns: %TRUE if @tool_item is allocated extra space. - * - * Since: 2.4 **/ gboolean gtk_tool_item_get_expand (GtkToolItem *tool_item) @@ -556,8 +538,6 @@ gtk_tool_item_get_expand (GtkToolItem *tool_item) * Sets whether @tool_item is to be allocated the same size as other * homogeneous items. The effect is that all homogeneous items will have * the same width as the widest of the items. - * - * Since: 2.4 **/ void gtk_tool_item_set_homogeneous (GtkToolItem *tool_item, @@ -584,8 +564,6 @@ gtk_tool_item_set_homogeneous (GtkToolItem *tool_item, * * Returns: %TRUE if the item is the same size as other homogeneous * items. - * - * Since: 2.4 **/ gboolean gtk_tool_item_get_homogeneous (GtkToolItem *tool_item) @@ -603,8 +581,6 @@ gtk_tool_item_get_homogeneous (GtkToolItem *tool_item) * gtk_tool_item_set_is_important() * * Returns: %TRUE if @tool_item is considered important. - * - * Since: 2.4 **/ gboolean gtk_tool_item_get_is_important (GtkToolItem *tool_item) @@ -624,8 +600,6 @@ gtk_tool_item_get_is_important (GtkToolItem *tool_item) * when the toolbar style is %GTK_TOOLBAR_BOTH_HORIZ. The result is that * only tool buttons with the “is_important” property set have labels, an * effect known as “priority text” - * - * Since: 2.4 **/ void gtk_tool_item_set_is_important (GtkToolItem *tool_item, gboolean is_important) @@ -651,8 +625,6 @@ gtk_tool_item_set_is_important (GtkToolItem *tool_item, gboolean is_important) * * Sets the text to be displayed as tooltip on the item. * See gtk_widget_set_tooltip_text(). - * - * Since: 2.12 **/ void gtk_tool_item_set_tooltip_text (GtkToolItem *tool_item, @@ -674,8 +646,6 @@ gtk_tool_item_set_tooltip_text (GtkToolItem *tool_item, * * Sets the markup text to be displayed as tooltip on the item. * See gtk_widget_set_tooltip_markup(). - * - * Since: 2.12 **/ void gtk_tool_item_set_tooltip_markup (GtkToolItem *tool_item, @@ -696,8 +666,6 @@ gtk_tool_item_set_tooltip_markup (GtkToolItem *tool_item, * @visible_horizontal: Whether @tool_item is visible when in horizontal mode * * Sets whether @tool_item is visible when the toolbar is docked horizontally. - * - * Since: 2.4 **/ void gtk_tool_item_set_visible_horizontal (GtkToolItem *toolitem, @@ -726,8 +694,6 @@ gtk_tool_item_set_visible_horizontal (GtkToolItem *toolitem, * * Returns: %TRUE if @tool_item is visible on toolbars that are * docked horizontally. - * - * Since: 2.4 **/ gboolean gtk_tool_item_get_visible_horizontal (GtkToolItem *toolitem) @@ -747,8 +713,6 @@ gtk_tool_item_get_visible_horizontal (GtkToolItem *toolitem) * vertically. Some tool items, such as text entries, are too wide to be * useful on a vertically docked toolbar. If @visible_vertical is %FALSE * @tool_item will not appear on toolbars that are docked vertically. - * - * Since: 2.4 **/ void gtk_tool_item_set_visible_vertical (GtkToolItem *toolitem, @@ -776,8 +740,6 @@ gtk_tool_item_set_visible_vertical (GtkToolItem *toolitem, * See gtk_tool_item_set_visible_vertical(). * * Returns: Whether @tool_item is visible when the toolbar is docked vertically - * - * Since: 2.4 **/ gboolean gtk_tool_item_get_visible_vertical (GtkToolItem *toolitem) @@ -797,8 +759,6 @@ gtk_tool_item_get_visible_vertical (GtkToolItem *toolitem) * * Returns: (transfer none): The #GtkMenuItem that is going to appear in the * overflow menu for @tool_item. - * - * Since: 2.4 **/ GtkWidget * gtk_tool_item_retrieve_proxy_menu_item (GtkToolItem *tool_item) @@ -829,8 +789,6 @@ gtk_tool_item_retrieve_proxy_menu_item (GtkToolItem *tool_item) * Returns: (transfer none) (nullable): The #GtkMenuItem passed to * gtk_tool_item_set_proxy_menu_item(), if the @menu_item_ids * match. - * - * Since: 2.4 **/ GtkWidget * gtk_tool_item_get_proxy_menu_item (GtkToolItem *tool_item, @@ -856,8 +814,6 @@ gtk_tool_item_get_proxy_menu_item (GtkToolItem *tool_item, * * The function must be called when the tool item changes what it * will do in response to the #GtkToolItem::create-menu-proxy signal. - * - * Since: 2.6 */ void gtk_tool_item_rebuild_menu (GtkToolItem *tool_item) @@ -885,8 +841,6 @@ gtk_tool_item_rebuild_menu (GtkToolItem *tool_item) * should also be used with gtk_tool_item_get_proxy_menu_item(). * * See also #GtkToolItem::create-menu-proxy. - * - * Since: 2.4 **/ void gtk_tool_item_set_proxy_menu_item (GtkToolItem *tool_item, @@ -925,8 +879,6 @@ gtk_tool_item_set_proxy_menu_item (GtkToolItem *tool_item, * Emits the signal #GtkToolItem::toolbar_reconfigured on @tool_item. * #GtkToolbar and other #GtkToolShell implementations use this function * to notify children, when some aspect of their configuration changes. - * - * Since: 2.14 **/ void gtk_tool_item_toolbar_reconfigured (GtkToolItem *tool_item) |