summaryrefslogtreecommitdiff
path: root/gtk/a11y/gtkwidgetaccessible.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/a11y/gtkwidgetaccessible.c')
-rw-r--r--gtk/a11y/gtkwidgetaccessible.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/gtk/a11y/gtkwidgetaccessible.c b/gtk/a11y/gtkwidgetaccessible.c
index 0a9a749e08..fe334e3d8b 100644
--- a/gtk/a11y/gtkwidgetaccessible.c
+++ b/gtk/a11y/gtkwidgetaccessible.c
@@ -180,32 +180,15 @@ gtk_widget_accessible_notify_orientation (GtkWidgetAccessible *self)
}
static void
-notify_cb (GObject *gobject,
- GParamSpec *pspec,
- gpointer user_data)
-{
- GtkWidget *widget = GTK_WIDGET (gobject);
- GtkWidgetAccessible *self = user_data;
-
- GTK_WIDGET_ACCESSIBLE_GET_CLASS (self)->notify_gtk (G_OBJECT (widget), pspec);
-}
-
-static void
gtk_widget_accessible_initialize (AtkObject *object,
gpointer data)
{
GtkWidgetAccessible *self = GTK_WIDGET_ACCESSIBLE (object);
GtkWidgetAccessiblePrivate *priv = gtk_widget_accessible_get_instance_private (self);
- GtkWidget *widget = data;
priv->layer = ATK_LAYER_WIDGET;
atk_object_set_role (object, ATK_ROLE_UNKNOWN);
-
- /* XXX: This will go away once we move all GtkWidgetAccessibleClass.notify_gtk()
- * implementations to explicit API on their respective classes
- */
- g_signal_connect (widget, "notify", G_CALLBACK (notify_cb), self);
}
static const char *
@@ -587,19 +570,10 @@ gtk_widget_accessible_ref_child (AtkObject *object,
}
static void
-gtk_widget_accessible_notify_gtk (GObject *gobject,
- GParamSpec *pspec)
-{
- /* Empty, used to chain up safely */
-}
-
-static void
gtk_widget_accessible_class_init (GtkWidgetAccessibleClass *klass)
{
AtkObjectClass *class = ATK_OBJECT_CLASS (klass);
- klass->notify_gtk = gtk_widget_accessible_notify_gtk;
-
class->get_description = gtk_widget_accessible_get_description;
class->get_parent = gtk_widget_accessible_get_parent;
class->ref_relation_set = gtk_widget_accessible_ref_relation_set;