aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-15 06:04:21 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-15 06:04:21 +0800
commit9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch)
tree2e1e96f33404781354c422a7e9beaf458ebeb655 /a11y/widgets
parent7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff)
downloadgsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.bz2
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.lz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.xz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
Diffstat (limited to 'a11y/widgets')
-rw-r--r--a11y/widgets/ea-calendar-cell.c12
-rw-r--r--a11y/widgets/ea-calendar-item.c62
-rw-r--r--a11y/widgets/ea-combo-button.c4
-rw-r--r--a11y/widgets/ea-expander.c2
4 files changed, 40 insertions, 40 deletions
diff --git a/a11y/widgets/ea-calendar-cell.c b/a11y/widgets/ea-calendar-cell.c
index 0ec6f6ce8b..30a06ef426 100644
--- a/a11y/widgets/ea-calendar-cell.c
+++ b/a11y/widgets/ea-calendar-cell.c
@@ -180,7 +180,7 @@ ea_calendar_cell_init (EaCalendarCell *a11y)
atk_state_set_add_state (a11y->state_set, ATK_STATE_FOCUSABLE);
}
-AtkObject*
+AtkObject*
ea_calendar_cell_new (GObject *obj)
{
gpointer object;
@@ -298,12 +298,12 @@ ea_calendar_cell_ref_state_set (AtkObject *accessible)
g_object_ref(atk_cell->state_set);
return atk_cell->state_set;
-
+
}
/* Atk Component Interface */
-static void
+static void
atk_component_interface_init (AtkComponentIface *iface)
{
g_return_if_fail (iface != NULL);
@@ -312,7 +312,7 @@ atk_component_interface_init (AtkComponentIface *iface)
iface->grab_focus = component_interface_grab_focus;
}
-static void
+static void
component_interface_get_extents (AtkComponent *component,
gint *x, gint *y, gint *width, gint *height,
AtkCoordType coord_type)
@@ -375,10 +375,10 @@ component_interface_grab_focus (AtkComponent *component)
calitem = E_CALENDAR_ITEM (g_obj);
index = atk_object_get_index_in_parent (ATK_OBJECT (a11y));
-
+
atk_selection_clear_selection (ATK_SELECTION (ea_calitem));
atk_selection_add_selection (ATK_SELECTION (ea_calitem), index);
-
+
gtk_widget_grab_focus (GTK_WIDGET (GNOME_CANVAS_ITEM (calitem)->canvas));
toplevel = gtk_widget_get_toplevel (GTK_WIDGET (GNOME_CANVAS_ITEM (calitem)->canvas));
if (toplevel && GTK_WIDGET_TOPLEVEL (toplevel))
diff --git a/a11y/widgets/ea-calendar-item.c b/a11y/widgets/ea-calendar-item.c
index 9def176376..585eba796d 100644
--- a/a11y/widgets/ea-calendar-item.c
+++ b/a11y/widgets/ea-calendar-item.c
@@ -57,7 +57,7 @@ static gint table_interface_get_column_at_index (AtkTable *table,
static gint table_interface_get_row_at_index (AtkTable *table,
gint index);
static AtkObject* table_interface_ref_at (AtkTable *table,
- gint row,
+ gint row,
gint column);
static gint table_interface_get_n_rows (AtkTable *table);
static gint table_interface_get_n_columns (AtkTable *table);
@@ -128,7 +128,7 @@ static gboolean ea_calendar_item_get_row_label (EaCalendarItem *ea_calitem,
static gboolean e_calendar_item_get_offset_for_date (ECalendarItem *calitem,
gint year, gint month, gint day,
gint *offset);
-static void ea_calendar_set_focus_object (EaCalendarItem *ea_calitem,
+static void ea_calendar_set_focus_object (EaCalendarItem *ea_calitem,
AtkObject *item_cell);
#ifdef ACC_DEBUG
@@ -212,7 +212,7 @@ ea_calendar_item_class_init (EaCalendarItemClass *klass)
class->ref_child = ea_calendar_item_ref_child;
}
-AtkObject*
+AtkObject*
ea_calendar_item_new (GObject *obj)
{
gpointer object;
@@ -303,7 +303,7 @@ ea_calendar_item_get_name (AtkObject *accessible)
day_end.tm_isdst = -1;
e_utf8_strftime (buffer_end, sizeof (buffer_end), _("%d %B %Y"), &day_end);
- name_str = g_strdup_printf (_("Calendar: from %s to %s"), buffer_start, buffer_end);
+ name_str = g_strdup_printf (_("Calendar: from %s to %s"), buffer_start, buffer_end);
}
#if 0
@@ -354,7 +354,7 @@ ea_calendar_item_ref_state_set (AtkObject *accessible)
atk_state_set_add_state (state_set, ATK_STATE_ENABLED);
atk_state_set_add_state (state_set, ATK_STATE_SENSITIVE);
-
+
return state_set;
}
@@ -439,7 +439,7 @@ ea_calendar_item_ref_child (AtkObject *accessible, gint index)
/* atk table interface */
-static void
+static void
atk_table_interface_init (AtkTableIface *iface)
{
g_return_if_fail (iface != NULL);
@@ -472,9 +472,9 @@ atk_table_interface_init (AtkTableIface *iface)
iface->get_column_description = table_interface_get_column_description;
}
-static AtkObject*
+static AtkObject*
table_interface_ref_at (AtkTable *table,
- gint row,
+ gint row,
gint column)
{
gint index;
@@ -484,7 +484,7 @@ table_interface_ref_at (AtkTable *table,
return ea_calendar_item_ref_child (ATK_OBJECT (ea_calitem), index);
}
-static gint
+static gint
table_interface_get_n_rows (AtkTable *table)
{
AtkGObjectAccessible *atk_gobj;
@@ -501,7 +501,7 @@ table_interface_get_n_rows (AtkTable *table)
return (n_children - 1) / EA_CALENDAR_COLUMN_NUM + 1;
}
-static gint
+static gint
table_interface_get_n_columns (AtkTable *table)
{
AtkGObjectAccessible *atk_gobj;
@@ -592,7 +592,7 @@ table_interface_get_column_extent_at (AtkTable *table,
return calitem->cell_width;
}
-static gint
+static gint
table_interface_get_row_extent_at (AtkTable *table,
gint row, gint column)
{
@@ -611,7 +611,7 @@ table_interface_get_row_extent_at (AtkTable *table,
}
/* any day in the row is selected, the row is selected */
-static gboolean
+static gboolean
table_interface_is_row_selected (AtkTable *table,
gint row)
{
@@ -661,9 +661,9 @@ table_interface_is_row_selected (AtkTable *table,
return FALSE;
}
-static gboolean
-table_interface_is_selected (AtkTable *table,
- gint row,
+static gboolean
+table_interface_is_selected (AtkTable *table,
+ gint row,
gint column)
{
AtkGObjectAccessible *atk_gobj;
@@ -710,14 +710,14 @@ table_interface_is_selected (AtkTable *table,
return FALSE;
}
-static gboolean
+static gboolean
table_interface_is_column_selected (AtkTable *table,
gint column)
{
return FALSE;
}
-static gint
+static gint
table_interface_get_selected_rows (AtkTable *table,
gint **rows_selected)
{
@@ -725,7 +725,7 @@ table_interface_get_selected_rows (AtkTable *table,
return -1;
}
-static gint
+static gint
table_interface_get_selected_columns (AtkTable *table,
gint **columns_selected)
{
@@ -733,45 +733,45 @@ table_interface_get_selected_columns (AtkTable *table,
return -1;
}
-static gboolean
-table_interface_add_row_selection (AtkTable *table,
+static gboolean
+table_interface_add_row_selection (AtkTable *table,
gint row)
{
return FALSE;
}
-static gboolean
-table_interface_remove_row_selection (AtkTable *table,
+static gboolean
+table_interface_remove_row_selection (AtkTable *table,
gint row)
{
return FALSE;
}
-static gboolean
-table_interface_add_column_selection (AtkTable *table,
+static gboolean
+table_interface_add_column_selection (AtkTable *table,
gint column)
{
return FALSE;
}
-static gboolean
-table_interface_remove_column_selection (AtkTable *table,
+static gboolean
+table_interface_remove_column_selection (AtkTable *table,
gint column)
{
/* FIXME: NOT IMPLEMENTED */
return FALSE;
}
-static AtkObject*
-table_interface_get_row_header (AtkTable *table,
+static AtkObject*
+table_interface_get_row_header (AtkTable *table,
gint row)
{
/* FIXME: NOT IMPLEMENTED */
return NULL;
}
-static AtkObject*
-table_interface_get_column_header (AtkTable *table,
+static AtkObject*
+table_interface_get_column_header (AtkTable *table,
gint in_col)
{
/* FIXME: NOT IMPLEMENTED */
@@ -920,7 +920,7 @@ selection_interface_clear_selection (AtkSelection *selection)
return TRUE;
}
-static AtkObject*
+static AtkObject*
selection_interface_ref_selection (AtkSelection *selection, gint i)
{
GObject *g_obj;
diff --git a/a11y/widgets/ea-combo-button.c b/a11y/widgets/ea-combo-button.c
index aad60c3023..8a90700f41 100644
--- a/a11y/widgets/ea-combo-button.c
+++ b/a11y/widgets/ea-combo-button.c
@@ -16,7 +16,7 @@ static GType parent_type;
/*Action IDs */
enum {
ACTIVATE_DEFAULT,
- POPUP_MENU,
+ POPUP_MENU,
LAST_ACTION
};
@@ -89,7 +89,7 @@ ea_combo_button_get_n_actions (AtkAction *action)
static void
atk_action_interface_init (AtkActionIface *iface)
{
- g_return_if_fail (iface != NULL);
+ g_return_if_fail (iface != NULL);
iface->do_action = ea_combo_button_do_action;
iface->get_n_actions = ea_combo_button_get_n_actions;
diff --git a/a11y/widgets/ea-expander.c b/a11y/widgets/ea-expander.c
index ebf0b67d1f..db174c37cb 100644
--- a/a11y/widgets/ea-expander.c
+++ b/a11y/widgets/ea-expander.c
@@ -134,7 +134,7 @@ ea_expander_get_type (void)
(GInterfaceFinalizeFunc) NULL,
NULL
};
-
+
factory = atk_registry_get_factory (atk_get_default_registry (), GTK_TYPE_BIN);
parent_type = atk_object_factory_get_accessible_type (factory);
g_type_query (parent_type, &query);