Commit d2a92200 authored by Benjamin Otte's avatar Benjamin Otte

a11y: remove now unused property lists

parent a3f60349
......@@ -23,13 +23,6 @@
#include "gtkbooleancellaccessible.h"
static gchar *property_list[] = {
"active",
"radio",
"sensitive",
NULL
};
G_DEFINE_TYPE (GtkBooleanCellAccessible, _gtk_boolean_cell_accessible, GTK_TYPE_RENDERER_CELL_ACCESSIBLE)
......@@ -78,7 +71,6 @@ _gtk_boolean_cell_accessible_class_init (GtkBooleanCellAccessibleClass *klass)
GtkRendererCellAccessibleClass *renderer_cell_class = GTK_RENDERER_CELL_ACCESSIBLE_CLASS (klass);
renderer_cell_class->update_cache = gtk_boolean_cell_accessible_update_cache;
renderer_cell_class->property_list = property_list;
}
static void
......
......@@ -22,11 +22,6 @@
#include <gtk/gtk.h>
#include "gtkimagecellaccessible.h"
static gchar *property_list[] = {
"pixbuf",
NULL
};
static void atk_image_interface_init (AtkImageIface *iface);
G_DEFINE_TYPE_WITH_CODE (GtkImageCellAccessible, _gtk_image_cell_accessible, GTK_TYPE_RENDERER_CELL_ACCESSIBLE,
......@@ -57,7 +52,6 @@ _gtk_image_cell_accessible_class_init (GtkImageCellAccessibleClass *klass)
gobject_class->finalize = gtk_image_cell_accessible_finalize;
renderer_cell_class->update_cache = gtk_image_cell_accessible_update_cache;
renderer_cell_class->property_list = property_list;
}
static void
......
......@@ -85,8 +85,6 @@ _gtk_renderer_cell_accessible_class_init (GtkRendererCellAccessibleClass *klass)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
klass->property_list = NULL;
gobject_class->get_property = gtk_renderer_cell_accessible_get_property;
gobject_class->set_property = gtk_renderer_cell_accessible_set_property;
gobject_class->finalize = gtk_renderer_cell_accessible_finalize;
......
......@@ -44,7 +44,6 @@ struct _GtkRendererCellAccessible
struct _GtkRendererCellAccessibleClass
{
GtkCellAccessibleClass parent_class;
gchar **property_list;
gboolean (*update_cache) (GtkRendererCellAccessible *cell,
gboolean emit_change_signal);
};
......
......@@ -83,43 +83,6 @@ static void add_attr (PangoAttrList *attr_li
static gboolean gtk_text_cell_accessible_update_cache (GtkRendererCellAccessible *cell,
gboolean emit_change_signal);
static gchar *property_list[] = {
/* Set font_desc first since it resets other values if it is NULL */
"font-desc",
"attributes",
"background-gdk",
"editable",
"family",
"foreground-gdk",
"rise",
"scale",
"size",
"size-points",
"stretch",
"strikethrough",
"style",
"text",
"underline",
"variant",
"weight",
/* Also need the sets */
"background-set",
"editable-set",
"family-set",
"foreground-set",
"rise-set",
"scale-set",
"size-set",
"stretch-set",
"strikethrough-set",
"style-set",
"underline-set",
"variant-set",
"weight-set",
NULL
};
static void atk_text_interface_init (AtkTextIface *iface);
G_DEFINE_TYPE_WITH_CODE (GtkTextCellAccessible, _gtk_text_cell_accessible, GTK_TYPE_RENDERER_CELL_ACCESSIBLE,
......@@ -229,7 +192,6 @@ _gtk_text_cell_accessible_class_init (GtkTextCellAccessibleClass *klass)
GtkRendererCellAccessibleClass *renderer_cell_class = GTK_RENDERER_CELL_ACCESSIBLE_CLASS (klass);
renderer_cell_class->update_cache = gtk_text_cell_accessible_update_cache;
renderer_cell_class->property_list = property_list;
atk_object_class->get_name = gtk_text_cell_accessible_get_name;
atk_object_class->ref_state_set = gtk_text_cell_accessible_ref_state_set;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment