mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
Revert "Add a getter for the accessible type of a widget class"
This reverts commit 9a212b3120
.
This commit is contained in:
parent
88a18a28d5
commit
d8c00cd537
@ -5052,7 +5052,6 @@ gtk_widget_style_get_property
|
||||
gtk_widget_style_get_valist
|
||||
gtk_widget_style_attach
|
||||
gtk_widget_class_set_accessible_type
|
||||
gtk_widget_class_get_accessible_type
|
||||
gtk_widget_get_accessible
|
||||
gtk_widget_child_focus
|
||||
gtk_widget_child_notify
|
||||
|
@ -3464,7 +3464,6 @@ gtk_widget_class_install_style_property
|
||||
gtk_widget_class_install_style_property_parser
|
||||
gtk_widget_class_list_style_properties
|
||||
gtk_widget_class_path
|
||||
gtk_widget_class_get_accessible_type
|
||||
gtk_widget_class_set_accessible_type
|
||||
gtk_widget_compute_expand
|
||||
gtk_widget_create_pango_context
|
||||
|
@ -11942,29 +11942,6 @@ gtk_widget_class_set_accessible_type (GtkWidgetClass *widget_class,
|
||||
priv->accessible_type = type;
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_widget_class_get_accessible_type:
|
||||
* @widget_class: class to query the accessible type for
|
||||
*
|
||||
* Returns the #GType for accessibles for widgets of the given
|
||||
* class. See gtk_widget_class_set_accessible_type().
|
||||
*
|
||||
* Returns: the accessible type for @widget_class
|
||||
*
|
||||
* Since: 3.2
|
||||
*/
|
||||
GType
|
||||
gtk_widget_class_get_accessible_type (GtkWidgetClass *widget_class)
|
||||
{
|
||||
GtkWidgetClassPrivate *priv;
|
||||
|
||||
g_return_if_fail (GTK_IS_WIDGET_CLASS (widget_class));
|
||||
|
||||
priv = widget_class->priv;
|
||||
|
||||
return priv->accessible_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_widget_get_accessible:
|
||||
* @widget: a #GtkWidget
|
||||
|
@ -724,7 +724,6 @@ void gtk_widget_set_support_multidevice (GtkWidget *widget,
|
||||
/* Accessibility support */
|
||||
void gtk_widget_class_set_accessible_type (GtkWidgetClass *widget_class,
|
||||
GType type);
|
||||
GType gtk_widget_class_get_accessible_type (GtkWidgetClass *widget_class);
|
||||
AtkObject* gtk_widget_get_accessible (GtkWidget *widget);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user