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/e-table | |
parent | adb63f0f2156554a21dbfd8daba447001985e967 (diff) | |
download | gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.gz gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.bz2 gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.lz gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.xz gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.tar.zst gsoc2013-evolution-0274669179600ac77475eed9870d2eab52c2cf14.zip |
Fix excessive whitespace.
Diffstat (limited to 'a11y/e-table')
-rw-r--r-- | a11y/e-table/gal-a11y-e-cell-popup.h | 1 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-cell-registry.c | 1 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-cell-registry.h | 1 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-cell-text.c | 12 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-cell-text.h | 1 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-cell-toggle.c | 3 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-cell-toggle.h | 1 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-cell-tree.h | 1 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-cell.c | 5 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-cell.h | 4 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-table-click-to-add-factory.h | 1 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-table-click-to-add.c | 6 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-table-column-header.h | 2 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-table-factory.h | 1 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-table-item-factory.h | 1 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-table-item.c | 7 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-table-item.h | 1 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-table.h | 1 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-tree-factory.h | 1 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-tree.h | 1 |
20 files changed, 0 insertions, 52 deletions
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); |