[gtk+] a11y: remove now unused property lists
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] a11y: remove now unused property lists
- Date: Fri, 16 Dec 2011 03:59:29 +0000 (UTC)
commit d2a92200067a393c4b36f1fc7ab1d76c920c340a
Author: Benjamin Otte <otte redhat com>
Date: Thu Dec 15 23:20:40 2011 +0100
a11y: remove now unused property lists
gtk/a11y/gtkbooleancellaccessible.c | 8 -------
gtk/a11y/gtkimagecellaccessible.c | 6 -----
gtk/a11y/gtkrenderercellaccessible.c | 2 -
gtk/a11y/gtkrenderercellaccessible.h | 1 -
gtk/a11y/gtktextcellaccessible.c | 38 ----------------------------------
5 files changed, 0 insertions(+), 55 deletions(-)
---
diff --git a/gtk/a11y/gtkbooleancellaccessible.c b/gtk/a11y/gtkbooleancellaccessible.c
index d918222..c9d73d9 100644
--- a/gtk/a11y/gtkbooleancellaccessible.c
+++ b/gtk/a11y/gtkbooleancellaccessible.c
@@ -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
diff --git a/gtk/a11y/gtkimagecellaccessible.c b/gtk/a11y/gtkimagecellaccessible.c
index e87eaab..d2413b7 100644
--- a/gtk/a11y/gtkimagecellaccessible.c
+++ b/gtk/a11y/gtkimagecellaccessible.c
@@ -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
diff --git a/gtk/a11y/gtkrenderercellaccessible.c b/gtk/a11y/gtkrenderercellaccessible.c
index 381ac46..165a746 100644
--- a/gtk/a11y/gtkrenderercellaccessible.c
+++ b/gtk/a11y/gtkrenderercellaccessible.c
@@ -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;
diff --git a/gtk/a11y/gtkrenderercellaccessible.h b/gtk/a11y/gtkrenderercellaccessible.h
index 6d11538..d913d06 100644
--- a/gtk/a11y/gtkrenderercellaccessible.h
+++ b/gtk/a11y/gtkrenderercellaccessible.h
@@ -44,7 +44,6 @@ struct _GtkRendererCellAccessible
struct _GtkRendererCellAccessibleClass
{
GtkCellAccessibleClass parent_class;
- gchar **property_list;
gboolean (*update_cache) (GtkRendererCellAccessible *cell,
gboolean emit_change_signal);
};
diff --git a/gtk/a11y/gtktextcellaccessible.c b/gtk/a11y/gtktextcellaccessible.c
index 194da57..deb0b4a 100644
--- a/gtk/a11y/gtktextcellaccessible.c
+++ b/gtk/a11y/gtktextcellaccessible.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]