diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-13 11:33:07 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-13 11:33:07 +0800 |
commit | 0274669179600ac77475eed9870d2eab52c2cf14 (patch) | |
tree | 80f228649b670efac7f76ba5c0da5ed22a3a05c9 /a11y | |
parent | adb63f0f2156554a21dbfd8daba447001985e967 (diff) | |
download | gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.gz gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.zst gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.zip |
Fix excessive whitespace.
Diffstat (limited to 'a11y')
41 files changed, 0 insertions, 92 deletions
diff --git a/a11y/addressbook/ea-addressbook-view.h b/a11y/addressbook/ea-addressbook-view.h index 4607746337..6179b6758e 100644 --- a/a11y/addressbook/ea-addressbook-view.h +++ b/a11y/addressbook/ea-addressbook-view.h @@ -42,7 +42,6 @@ struct _EaABView GtkAccessible parent; }; - struct _EaABViewClass { GtkAccessibleClass parent_class; @@ -53,5 +52,4 @@ AtkObject* ea_ab_view_new(GObject *obj); G_END_DECLS - #endif /* __EA_ADDRESSBOOK_VIEW_H__ */ diff --git a/a11y/addressbook/ea-minicard-view.c b/a11y/addressbook/ea-minicard-view.c index 7e6fea543d..865e85506a 100644 --- a/a11y/addressbook/ea-minicard-view.c +++ b/a11y/addressbook/ea-minicard-view.c @@ -34,7 +34,6 @@ static const gchar * action_name[] = { N_("New Contact List") }; - static G_CONST_RETURN gchar * ea_minicard_view_get_name (AtkObject *accessible); static G_CONST_RETURN gchar * ea_minicard_view_get_description (AtkObject *accessible); diff --git a/a11y/addressbook/ea-minicard-view.h b/a11y/addressbook/ea-minicard-view.h index c564dac8c8..cc8eaecae7 100644 --- a/a11y/addressbook/ea-minicard-view.h +++ b/a11y/addressbook/ea-minicard-view.h @@ -34,7 +34,6 @@ G_BEGIN_DECLS #define EA_IS_MINICARD_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EA_TYPE_MINICARD_VIEW)) #define EA_IS_MINICARD_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EA_TYPE_MINICARD_VIEW)) - typedef struct _EaMinicardView EaMinicardView; typedef struct _EaMinicardViewClass EaMinicardViewClass; @@ -43,7 +42,6 @@ struct _EaMinicardView AtkGObjectAccessible parent; }; - struct _EaMinicardViewClass { AtkGObjectAccessibleClass parent_class; @@ -55,5 +53,4 @@ AtkObject* ea_minicard_view_new(GObject *obj); G_END_DECLS - #endif /* __EA_MINICARD_VIEW_H__ */ diff --git a/a11y/addressbook/ea-minicard.h b/a11y/addressbook/ea-minicard.h index 879463b629..8b49ab6284 100644 --- a/a11y/addressbook/ea-minicard.h +++ b/a11y/addressbook/ea-minicard.h @@ -43,7 +43,6 @@ struct _EaMinicard AtkGObjectAccessible parent; }; - struct _EaMinicardClass { AtkGObjectAccessibleClass parent_class; @@ -54,5 +53,4 @@ AtkObject* ea_minicard_new(GObject *obj); G_END_DECLS - #endif /* __EA_MINICARD_H__ */ diff --git a/a11y/calendar/ea-cal-view-event.c b/a11y/calendar/ea-cal-view-event.c index 5da164323f..5f0af90261 100644 --- a/a11y/calendar/ea-cal-view-event.c +++ b/a11y/calendar/ea-cal-view-event.c @@ -48,7 +48,6 @@ static gboolean ea_cal_view_event_do_action (AtkAction *action, gint i); static gint ea_cal_view_event_get_n_actions (AtkAction *action); static G_CONST_RETURN gchar * ea_cal_view_event_action_get_name (AtkAction *action, gint i); - #ifdef ACC_DEBUG static gint n_ea_cal_view_event_created = 0, n_ea_cal_view_event_destroyed = 0; static void ea_cal_view_finalize (GObject *object); @@ -64,7 +63,6 @@ ea_cal_view_event_get_type (void) GTypeQuery query; GType derived_atk_type; - if (!type) { static GTypeInfo tinfo = { sizeof (EaCalViewEventClass), @@ -91,7 +89,6 @@ ea_cal_view_event_get_type (void) NULL }; - /* * Figure out the size of the class and instance * we are run-time deriving from (atk object for E_TEXT, in this case) @@ -113,7 +110,6 @@ ea_cal_view_event_get_type (void) g_type_add_interface_static (type, ATK_TYPE_ACTION, &atk_action_info); - } return type; @@ -253,7 +249,6 @@ ea_cal_view_event_get_name (AtkObject *accessible) gchar *summary_string; const gchar *summary; - g_return_val_if_fail (EA_IS_CAL_VIEW_EVENT (accessible), NULL); atk_gobj = ATK_GOBJECT_ACCESSIBLE (accessible); diff --git a/a11y/calendar/ea-cal-view-event.h b/a11y/calendar/ea-cal-view-event.h index 548e42b4a7..b4b193de2d 100644 --- a/a11y/calendar/ea-cal-view-event.h +++ b/a11y/calendar/ea-cal-view-event.h @@ -54,5 +54,4 @@ AtkObject *ea_cal_view_event_new (GObject *obj); G_END_DECLS - #endif /* __EA_CAL_VIEW_EVENT_H__ */ diff --git a/a11y/calendar/ea-calendar.c b/a11y/calendar/ea-calendar.c index fb8d523275..0dfb5e5067 100644 --- a/a11y/calendar/ea-calendar.c +++ b/a11y/calendar/ea-calendar.c @@ -34,7 +34,6 @@ #include "calendar/ea-week-view-main-item.h" #include "calendar/ea-gnome-calendar.h" - EA_FACTORY (EA_TYPE_CAL_VIEW, ea_cal_view, ea_cal_view_new) EA_FACTORY (EA_TYPE_DAY_VIEW, ea_day_view, ea_day_view_new) EA_FACTORY_GOBJECT (EA_TYPE_DAY_VIEW_MAIN_ITEM, ea_day_view_main_item, ea_day_view_main_item_new) diff --git a/a11y/calendar/ea-day-view-cell.c b/a11y/calendar/ea-day-view-cell.c index bbc92a192f..ffc059b87d 100644 --- a/a11y/calendar/ea-day-view-cell.c +++ b/a11y/calendar/ea-day-view-cell.c @@ -258,7 +258,6 @@ ea_day_view_cell_ref_state_set (AtkObject *obj) atk_component_get_extents (ATK_COMPONENT (parent), &parent_x, &parent_y, &parent_width, &parent_height, ATK_XY_WINDOW); - if (x + width < parent_x || x > parent_x + parent_width || y + height < parent_y || y > parent_y + parent_height) /* the cell is out of the main canvas */ diff --git a/a11y/calendar/ea-day-view-main-item.c b/a11y/calendar/ea-day-view-main-item.c index 3bfd56f0b3..89b6f1a57b 100644 --- a/a11y/calendar/ea-day-view-main-item.c +++ b/a11y/calendar/ea-day-view-main-item.c @@ -181,7 +181,6 @@ ea_day_view_main_item_get_type (void) NULL }; - /* * Figure out the size of the class and instance * we are run-time deriving from (GailCanvasItem, in this case) diff --git a/a11y/calendar/ea-gnome-calendar.h b/a11y/calendar/ea-gnome-calendar.h index b0d2cf71d2..db9acdb47e 100644 --- a/a11y/calendar/ea-gnome-calendar.h +++ b/a11y/calendar/ea-gnome-calendar.h @@ -56,5 +56,4 @@ const gchar * ea_gnome_calendar_get_label_description (GnomeCalendar *gcal); G_END_DECLS - #endif /* __EA_GNOME_CALENDAR_H__ */ diff --git a/a11y/calendar/ea-jump-button.c b/a11y/calendar/ea-jump-button.c index eb24bea42c..a6775ade55 100644 --- a/a11y/calendar/ea-jump-button.c +++ b/a11y/calendar/ea-jump-button.c @@ -51,7 +51,6 @@ ea_jump_button_get_type (void) GTypeQuery query; GType derived_atk_type; - if (!type) { static GTypeInfo tinfo = { sizeof (EaJumpButtonClass), diff --git a/a11y/calendar/ea-jump-button.h b/a11y/calendar/ea-jump-button.h index cd3b6e26bb..be0a357a14 100644 --- a/a11y/calendar/ea-jump-button.h +++ b/a11y/calendar/ea-jump-button.h @@ -54,5 +54,4 @@ AtkObject *ea_jump_button_new (GObject *obj); G_END_DECLS - #endif /* __EA_JUMP_BUTTON_H__ */ diff --git a/a11y/calendar/ea-week-view-cell.c b/a11y/calendar/ea-week-view-cell.c index a7248c00ae..b391ba02c6 100644 --- a/a11y/calendar/ea-week-view-cell.c +++ b/a11y/calendar/ea-week-view-cell.c @@ -270,7 +270,6 @@ ea_week_view_cell_ref_state_set (AtkObject *obj) atk_component_get_extents (ATK_COMPONENT (parent), &parent_x, &parent_y, &parent_width, &parent_height, ATK_XY_WINDOW); - if (x + width < parent_x || x > parent_x + parent_width || y + height < parent_y || y > parent_y + parent_height) /* the cell is out of the main canvas */ diff --git a/a11y/calendar/ea-week-view-main-item.c b/a11y/calendar/ea-week-view-main-item.c index 74f4695a69..3d0bd9e8e8 100644 --- a/a11y/calendar/ea-week-view-main-item.c +++ b/a11y/calendar/ea-week-view-main-item.c @@ -181,7 +181,6 @@ ea_week_view_main_item_get_type (void) NULL }; - /* * Figure out the size of the class and instance * we are run-time deriving from (GailCanvasItem, in this case) diff --git a/a11y/calendar/ea-week-view.h b/a11y/calendar/ea-week-view.h index bb71c17e74..09409ec4cf 100644 --- a/a11y/calendar/ea-week-view.h +++ b/a11y/calendar/ea-week-view.h @@ -55,5 +55,4 @@ AtkObject* ea_week_view_new (GtkWidget *widget); G_END_DECLS - #endif /* __EA_WEEK_VIEW_H__ */ diff --git a/a11y/e-table/gal-a11y-e-cell-popup.h b/a11y/e-table/gal-a11y-e-cell-popup.h index 7fef5cf18d..5e056a0df0 100644 --- a/a11y/e-table/gal-a11y-e-cell-popup.h +++ b/a11y/e-table/gal-a11y-e-cell-popup.h @@ -49,7 +49,6 @@ struct _GalA11yECellPopupClass { GalA11yECellClass parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_cell_popup_get_type (void); AtkObject *gal_a11y_e_cell_popup_new (ETableItem *item, diff --git a/a11y/e-table/gal-a11y-e-cell-registry.c b/a11y/e-table/gal-a11y-e-cell-registry.c index 9dc9598608..5c741e1955 100644 --- a/a11y/e-table/gal-a11y-e-cell-registry.c +++ b/a11y/e-table/gal-a11y-e-cell-registry.c @@ -105,7 +105,6 @@ init_default_registry (void) } } - AtkObject * gal_a11y_e_cell_registry_get_object (GalA11yECellRegistry *registry, ETableItem *item, diff --git a/a11y/e-table/gal-a11y-e-cell-registry.h b/a11y/e-table/gal-a11y-e-cell-registry.h index 0620fd1b9c..85afdadf4e 100644 --- a/a11y/e-table/gal-a11y-e-cell-registry.h +++ b/a11y/e-table/gal-a11y-e-cell-registry.h @@ -55,7 +55,6 @@ struct _GalA11yECellRegistryClass { GObjectClass parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_cell_registry_get_type (void); AtkObject *gal_a11y_e_cell_registry_get_object (GalA11yECellRegistry *registry, diff --git a/a11y/e-table/gal-a11y-e-cell-text.c b/a11y/e-table/gal-a11y-e-cell-text.c index 77823b0a7c..26fffcb3e7 100644 --- a/a11y/e-table/gal-a11y-e-cell-text.c +++ b/a11y/e-table/gal-a11y-e-cell-text.c @@ -179,7 +179,6 @@ ect_get_character_at_offset (AtkText *text, return ret_val; } - static gchar * ect_get_text_before_offset (AtkText *text, gint offset, @@ -191,7 +190,6 @@ ect_get_text_before_offset (AtkText *text, return NULL; } - static gint ect_get_caret_offset (AtkText *text) { @@ -224,7 +222,6 @@ ect_get_run_attributes (AtkText *text, return NULL; } - static AtkAttributeSet* ect_get_default_attributes (AtkText *text) { @@ -232,7 +229,6 @@ ect_get_default_attributes (AtkText *text) return NULL; } - static void ect_get_character_extents (AtkText *text, gint offset, @@ -245,7 +241,6 @@ ect_get_character_extents (AtkText *text, /* Unimplemented */ } - static gint ect_get_character_count (AtkText *text) { @@ -263,7 +258,6 @@ ect_get_character_count (AtkText *text) return ret_val; } - static gint ect_get_offset_at_point (AtkText *text, gint x, @@ -274,7 +268,6 @@ ect_get_offset_at_point (AtkText *text, return 0; } - static gint ect_get_n_selections (AtkText *text) { @@ -293,7 +286,6 @@ ect_get_n_selections (AtkText *text) return 0; } - static gchar * ect_get_selection (AtkText *text, gint selection_num, @@ -339,7 +331,6 @@ ect_get_selection (AtkText *text, return ret_val; } - static gboolean ect_add_selection (AtkText *text, gint start_offset, @@ -377,7 +368,6 @@ ect_add_selection (AtkText *text, return FALSE; } - static gboolean ect_remove_selection (AtkText *text, gint selection_num) @@ -401,7 +391,6 @@ ect_remove_selection (AtkText *text, return FALSE; } - static gboolean ect_set_selection (AtkText *text, gint selection_num, @@ -416,7 +405,6 @@ ect_set_selection (AtkText *text, return FALSE; } - static gboolean ect_set_caret_offset (AtkText *text, gint offset) diff --git a/a11y/e-table/gal-a11y-e-cell-text.h b/a11y/e-table/gal-a11y-e-cell-text.h index 2e469d76f6..8ccb9c70f9 100644 --- a/a11y/e-table/gal-a11y-e-cell-text.h +++ b/a11y/e-table/gal-a11y-e-cell-text.h @@ -51,7 +51,6 @@ struct _GalA11yECellTextClass { GalA11yECellClass parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_cell_text_get_type (void); AtkObject *gal_a11y_e_cell_text_new (ETableItem *item, diff --git a/a11y/e-table/gal-a11y-e-cell-toggle.c b/a11y/e-table/gal-a11y-e-cell-toggle.c index df687f4005..fa23f6c6fd 100644 --- a/a11y/e-table/gal-a11y-e-cell-toggle.c +++ b/a11y/e-table/gal-a11y-e-cell-toggle.c @@ -69,7 +69,6 @@ gal_a11y_e_cell_toggle_get_type (void) NULL /* value table */ }; - type = g_type_register_static (GAL_A11Y_TYPE_E_CELL, "GalA11yECellToggle", &tinfo, 0); gal_a11y_e_cell_type_add_action_interface (type); @@ -78,7 +77,6 @@ gal_a11y_e_cell_toggle_get_type (void) return type; } - static void gal_a11y_e_cell_toggle_class_init (GalA11yECellToggleClass *klass) { @@ -138,7 +136,6 @@ model_change_cb (ETableModel *etm, } } - AtkObject* gal_a11y_e_cell_toggle_new (ETableItem *item, ECellView *cell_view, diff --git a/a11y/e-table/gal-a11y-e-cell-toggle.h b/a11y/e-table/gal-a11y-e-cell-toggle.h index 8e9b4def08..3c29d777e3 100644 --- a/a11y/e-table/gal-a11y-e-cell-toggle.h +++ b/a11y/e-table/gal-a11y-e-cell-toggle.h @@ -60,5 +60,4 @@ AtkObject *gal_a11y_e_cell_toggle_new (ETableItem *item, G_END_DECLS - #endif /* __GAL_A11Y_E_CELL_TOGGLE_H__ */ diff --git a/a11y/e-table/gal-a11y-e-cell-tree.h b/a11y/e-table/gal-a11y-e-cell-tree.h index 497590b351..fa48c1486a 100644 --- a/a11y/e-table/gal-a11y-e-cell-tree.h +++ b/a11y/e-table/gal-a11y-e-cell-tree.h @@ -51,7 +51,6 @@ struct _GalA11yECellTreeClass { GalA11yECellClass parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_cell_tree_get_type (void); AtkObject *gal_a11y_e_cell_tree_new (ETableItem *item, diff --git a/a11y/e-table/gal-a11y-e-cell.c b/a11y/e-table/gal-a11y-e-cell.c index e09b5456d9..211afa401c 100644 --- a/a11y/e-table/gal-a11y-e-cell.c +++ b/a11y/e-table/gal-a11y-e-cell.c @@ -39,7 +39,6 @@ static GObjectClass *parent_class; #define PARENT_TYPE (atk_object_get_type ()) - #if 0 static void unref_item (gpointer user_data, GObject *obj_loc) @@ -151,7 +150,6 @@ gal_a11y_e_cell_get_index_in_parent (AtkObject *accessible) return (a11y->row + 1) * a11y->item->cols + a11y->view_col; } - /* Component IFace */ static void gal_a11y_e_cell_get_extents (AtkComponent *component, @@ -264,7 +262,6 @@ gal_a11y_e_cell_init (GalA11yECell *a11y) atk_state_set_add_state (a11y->state_set, ATK_STATE_VISIBLE); } - static ActionInfo * _gal_a11y_e_cell_get_action_info (GalA11yECell *cell, gint index) @@ -293,7 +290,6 @@ _gal_a11y_e_cell_destroy_action_info (gpointer action_info, g_free (info); } - gboolean gal_a11y_e_cell_add_action ( GalA11yECell * cell, const gchar *action_name, @@ -639,6 +635,5 @@ gal_a11y_e_cell_construct (AtkObject *object, if (cell_view) g_object_ref (G_OBJECT (cell_view)); - #endif } diff --git a/a11y/e-table/gal-a11y-e-cell.h b/a11y/e-table/gal-a11y-e-cell.h index c61e5e2d22..4f2e536b8d 100644 --- a/a11y/e-table/gal-a11y-e-cell.h +++ b/a11y/e-table/gal-a11y-e-cell.h @@ -39,7 +39,6 @@ typedef struct _GalA11yECellPrivate GalA11yECellPrivate; typedef struct _ActionInfo ActionInfo; typedef void (*ACTION_FUNC) (GalA11yECell *cell); - /* This struct should actually be larger as this isn't what we derive from. * The GalA11yECellPrivate comes right after the parent class structure. **/ @@ -69,8 +68,6 @@ struct _ActionInfo { ACTION_FUNC do_action_func; }; - - /* Standard Glib function */ GType gal_a11y_e_cell_get_type (void); AtkObject *gal_a11y_e_cell_new (ETableItem *item, @@ -109,5 +106,4 @@ gboolean gal_a11y_e_cell_remove_state (GalA11yECell *cell, AtkStateType state_type, gboolean emit_signal); - #endif /* ! __GAL_A11Y_E_CELL_H__ */ diff --git a/a11y/e-table/gal-a11y-e-table-click-to-add-factory.h b/a11y/e-table/gal-a11y-e-table-click-to-add-factory.h index 9f249f0178..5321ccd241 100644 --- a/a11y/e-table/gal-a11y-e-table-click-to-add-factory.h +++ b/a11y/e-table/gal-a11y-e-table-click-to-add-factory.h @@ -43,7 +43,6 @@ struct _GalA11yETableClickToAddFactoryClass { AtkObjectClass parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_table_click_to_add_factory_get_type (void); diff --git a/a11y/e-table/gal-a11y-e-table-click-to-add.c b/a11y/e-table/gal-a11y-e-table-click-to-add.c index 8a8fe56796..225f24c685 100644 --- a/a11y/e-table/gal-a11y-e-table-click-to-add.c +++ b/a11y/e-table/gal-a11y-e-table-click-to-add.c @@ -44,7 +44,6 @@ struct _GalA11yETableClickToAddPrivate { gpointer row; }; - static gint etcta_get_n_actions (AtkAction *action) { @@ -70,7 +69,6 @@ etcta_action_get_name (AtkAction *action, gint i) return NULL; } - static gboolean idle_do_action (gpointer data) { @@ -119,7 +117,6 @@ atk_action_interface_init (AtkActionIface *iface) iface->get_name = etcta_action_get_name; } - static G_CONST_RETURN gchar * etcta_get_name (AtkObject *obj) { @@ -274,7 +271,6 @@ etcta_event (GnomeCanvasItem *item, GdkEvent *e, gpointer data) g_signal_emit_by_name (a11y, "children_changed::add", 0, NULL, NULL); } - priv->rect = etcta->rect; priv->row = etcta->row; @@ -316,13 +312,11 @@ gal_a11y_e_table_click_to_add_new (GObject *widget) etcta = E_TABLE_CLICK_TO_ADD(widget); - atk_object_initialize (ATK_OBJECT (a11y), etcta); priv->rect = etcta->rect; priv->row = etcta->row; - g_signal_connect_after (G_OBJECT(widget), "event", G_CALLBACK (etcta_event), a11y); diff --git a/a11y/e-table/gal-a11y-e-table-column-header.h b/a11y/e-table/gal-a11y-e-table-column-header.h index d0b1ff5aeb..0cf0695f75 100644 --- a/a11y/e-table/gal-a11y-e-table-column-header.h +++ b/a11y/e-table/gal-a11y-e-table-column-header.h @@ -21,7 +21,6 @@ * */ - #ifndef __GAL_A11Y_E_TABLE_COLUMN_HEADER_H__ #define __GAL_A11Y_E_TABLE_COLUMN_HEADER_H__ @@ -46,7 +45,6 @@ struct _GalA11yETableColumnHeaderClass { AtkGObjectAccessibleClass parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_table_column_header_get_type (void); AtkObject *gal_a11y_e_table_column_header_new (ETableCol *etc, ETableItem *item); diff --git a/a11y/e-table/gal-a11y-e-table-factory.h b/a11y/e-table/gal-a11y-e-table-factory.h index 3439cf0bdc..f0a1cecd0b 100644 --- a/a11y/e-table/gal-a11y-e-table-factory.h +++ b/a11y/e-table/gal-a11y-e-table-factory.h @@ -44,7 +44,6 @@ struct _GalA11yETableFactoryClass { AtkObjectClass parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_table_factory_get_type (void); diff --git a/a11y/e-table/gal-a11y-e-table-item-factory.h b/a11y/e-table/gal-a11y-e-table-item-factory.h index f27c491a4d..5fdf7ce1ef 100644 --- a/a11y/e-table/gal-a11y-e-table-item-factory.h +++ b/a11y/e-table/gal-a11y-e-table-item-factory.h @@ -43,7 +43,6 @@ struct _GalA11yETableItemFactoryClass { AtkObjectClass parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_table_item_factory_get_type (void); diff --git a/a11y/e-table/gal-a11y-e-table-item.c b/a11y/e-table/gal-a11y-e-table-item.c index 561b9a84d6..37f55f68c1 100644 --- a/a11y/e-table/gal-a11y-e-table-item.c +++ b/a11y/e-table/gal-a11y-e-table-item.c @@ -315,7 +315,6 @@ eti_ref_accessible_at_point (AtkComponent *component, } } - static void cell_destroyed (gpointer data) { @@ -344,7 +343,6 @@ eti_ref_at (AtkTable *table, gint row, gint column) if (atk_state_set_contains_state (priv->state_set, ATK_STATE_DEFUNCT)) return NULL; - item = E_TABLE_ITEM (eti_a11y_get_gobject (ATK_OBJECT (table))); if (!item) return NULL; @@ -842,7 +840,6 @@ eti_header_structure_changed (ETableHeader *eth, AtkObject *a11y) if (reorder_found) g_signal_emit_by_name (G_OBJECT(a11y_item), "column_reordered"); - if (removed_found) { for (i = 0; i < prev_n_cols; i ++ ) { if (prev_state[i] == ETI_HEADER_REMOVED) { @@ -873,7 +870,6 @@ eti_header_structure_changed (ETableHeader *eth, AtkObject *a11y) priv->columns = cols; } - static void eti_real_initialize (AtkObject *obj, gpointer data) @@ -999,7 +995,6 @@ gal_a11y_e_table_item_get_type (void) NULL }; - factory = atk_registry_get_factory (atk_get_default_registry (), GNOME_TYPE_CANVAS_ITEM); parent_type = atk_object_factory_get_accessible_type (factory); @@ -1036,7 +1031,6 @@ gal_a11y_e_table_item_new (ETableItem *item) atk_state_set_add_state (GET_PRIVATE(a11y)->state_set, ATK_STATE_SHOWING); atk_state_set_add_state (GET_PRIVATE(a11y)->state_set, ATK_STATE_VISIBLE); - accessible = ATK_OBJECT(a11y); /* Initialize cell data. */ @@ -1122,7 +1116,6 @@ gal_a11y_e_table_item_unref_selection (GalA11yETableItem *a11y) g_return_val_if_fail (priv->selection_change_id != 0, FALSE); g_return_val_if_fail (priv->cursor_change_id != 0, FALSE); - g_signal_handler_disconnect (priv->selection, priv->selection_change_id); g_signal_handler_disconnect (priv->selection, diff --git a/a11y/e-table/gal-a11y-e-table-item.h b/a11y/e-table/gal-a11y-e-table-item.h index 27d6a8244b..87773aae48 100644 --- a/a11y/e-table/gal-a11y-e-table-item.h +++ b/a11y/e-table/gal-a11y-e-table-item.h @@ -49,7 +49,6 @@ struct _GalA11yETableItemClass { AtkGObjectAccessibleClass parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_table_item_get_type (void); AtkObject *gal_a11y_e_table_item_new (ETableItem *item); diff --git a/a11y/e-table/gal-a11y-e-table.h b/a11y/e-table/gal-a11y-e-table.h index d8f972df81..ba7c8adc03 100644 --- a/a11y/e-table/gal-a11y-e-table.h +++ b/a11y/e-table/gal-a11y-e-table.h @@ -49,7 +49,6 @@ struct _GalA11yETableClass { GtkAccessibleClass parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_table_get_type (void); AtkObject *gal_a11y_e_table_new (GObject *table); diff --git a/a11y/e-table/gal-a11y-e-tree-factory.h b/a11y/e-table/gal-a11y-e-tree-factory.h index 3d97c7a3b1..36b4a61dc2 100644 --- a/a11y/e-table/gal-a11y-e-tree-factory.h +++ b/a11y/e-table/gal-a11y-e-tree-factory.h @@ -43,7 +43,6 @@ struct _GalA11yETreeFactoryClass { AtkObjectClass parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_tree_factory_get_type (void); diff --git a/a11y/e-table/gal-a11y-e-tree.h b/a11y/e-table/gal-a11y-e-tree.h index d2aa8a0d2a..ef15dade36 100644 --- a/a11y/e-table/gal-a11y-e-tree.h +++ b/a11y/e-table/gal-a11y-e-tree.h @@ -48,7 +48,6 @@ struct _GalA11yETreeClass { GtkAccessibleClass parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_tree_get_type (void); AtkObject *gal_a11y_e_tree_new (GObject *tree); diff --git a/a11y/e-text/gal-a11y-e-text-factory.h b/a11y/e-text/gal-a11y-e-text-factory.h index df7638f64f..7e7f8e9f1a 100644 --- a/a11y/e-text/gal-a11y-e-text-factory.h +++ b/a11y/e-text/gal-a11y-e-text-factory.h @@ -43,7 +43,6 @@ struct _GalA11yETextFactoryClass { AtkObjectFactoryClass parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_text_factory_get_type (void); diff --git a/a11y/e-text/gal-a11y-e-text.c b/a11y/e-text/gal-a11y-e-text.c index 99fb4e8a94..113c503da9 100644 --- a/a11y/e-text/gal-a11y-e-text.c +++ b/a11y/e-text/gal-a11y-e-text.c @@ -419,7 +419,6 @@ et_get_character_at_offset (AtkText *text, return g_utf8_get_char_validated (at_offset, -1); } - static gchar * et_get_text_before_offset (AtkText *text, gint offset, @@ -492,7 +491,6 @@ et_get_caret_offset (AtkText *text) return offset; } - static AtkAttributeSet* et_get_run_attributes (AtkText *text, gint offset, @@ -503,7 +501,6 @@ et_get_run_attributes (AtkText *text, return NULL; } - static AtkAttributeSet* et_get_default_attributes (AtkText *text) { @@ -511,7 +508,6 @@ et_get_default_attributes (AtkText *text) return NULL; } - static void et_get_character_extents (AtkText *text, gint offset, @@ -584,7 +580,6 @@ et_get_character_extents (AtkText *text, } } - static gint et_get_character_count (AtkText *text) { @@ -593,7 +588,6 @@ et_get_character_count (AtkText *text) return g_utf8_strlen (full_text, -1); } - static gint et_get_offset_at_point (AtkText *text, gint x, @@ -658,7 +652,6 @@ et_get_offset_at_point (AtkText *text, return g_utf8_pointer_to_offset (etext->text, etext->text + index + trailing); } - static gint et_get_n_selections (AtkText *text) { @@ -669,7 +662,6 @@ et_get_n_selections (AtkText *text) return 0; } - static gchar * et_get_selection (AtkText *text, gint selection_num, @@ -702,7 +694,6 @@ et_get_selection (AtkText *text, return NULL; } - static gboolean et_add_selection (AtkText *text, gint start_offset, @@ -741,7 +732,6 @@ et_add_selection (AtkText *text, return FALSE; } - static gboolean et_remove_selection (AtkText *text, gint selection_num) @@ -766,7 +756,6 @@ et_remove_selection (AtkText *text, return FALSE; } - static gboolean et_set_selection (AtkText *text, gint selection_num, @@ -785,7 +774,6 @@ et_set_selection (AtkText *text, return FALSE; } - static gboolean et_set_caret_offset (AtkText *text, gint offset) diff --git a/a11y/e-text/gal-a11y-e-text.h b/a11y/e-text/gal-a11y-e-text.h index 6a5bb80de0..ff55bdadc7 100644 --- a/a11y/e-text/gal-a11y-e-text.h +++ b/a11y/e-text/gal-a11y-e-text.h @@ -48,7 +48,6 @@ struct _GalA11yETextClass { AtkObject parent_class; }; - /* Standard Glib function */ GType gal_a11y_e_text_get_type (void); diff --git a/a11y/widgets/ea-calendar-cell.c b/a11y/widgets/ea-calendar-cell.c index ab103bf1ef..4b2f3d2ab4 100644 --- a/a11y/widgets/ea-calendar-cell.c +++ b/a11y/widgets/ea-calendar-cell.c @@ -328,7 +328,6 @@ component_interface_get_extents (AtkComponent *component, g_return_if_fail (EA_IS_CALENDAR_CELL (component)); - g_obj = atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE(component)); if (!g_obj) /* defunct object*/ diff --git a/a11y/widgets/ea-calendar-item.h b/a11y/widgets/ea-calendar-item.h index 36cc671a3b..b5271a9f8b 100644 --- a/a11y/widgets/ea-calendar-item.h +++ b/a11y/widgets/ea-calendar-item.h @@ -64,5 +64,4 @@ gint e_calendar_item_get_n_days_from_week_start (ECalendarItem *calitem, G_END_DECLS - #endif /* __EA_CALENDAR_ITEM_H__ */ diff --git a/a11y/widgets/ea-combo-button.h b/a11y/widgets/ea-combo-button.h index 2b5d0aa3ca..e1482fbf32 100644 --- a/a11y/widgets/ea-combo-button.h +++ b/a11y/widgets/ea-combo-button.h @@ -44,7 +44,6 @@ struct _EaComboButtonClass { GtkAccessibleClass parent_class; }; - /* Standard Glib function */ GType ea_combo_button_get_type (void); AtkObject *ea_combo_button_new (GtkWidget *combo_button); |