aboutsummaryrefslogtreecommitdiffstats
path: root/a11y
diff options
context:
space:
mode:
Diffstat (limited to 'a11y')
-rw-r--r--a11y/ChangeLog12
-rw-r--r--a11y/addressbook/ea-addressbook.c2
-rw-r--r--a11y/calendar/ea-cal-view.c2
-rw-r--r--a11y/calendar/ea-calendar.c2
-rw-r--r--a11y/calendar/ea-week-view-main-item.c2
-rw-r--r--a11y/e-table/gal-a11y-e-cell-tree.c2
6 files changed, 17 insertions, 5 deletions
diff --git a/a11y/ChangeLog b/a11y/ChangeLog
index 6e5ba67ab7..67025af0f6 100644
--- a/a11y/ChangeLog
+++ b/a11y/ChangeLog
@@ -1,3 +1,15 @@
+2007-10-29 Kjartan Maraas <kmaraas@gnome.org>
+
+ * addressbook/ea-addressbook.c:
+ * calendar/ea-cal-view.c: (action_interface_get_keybinding):
+ * calendar/ea-calendar.c:
+ * calendar/ea-week-view-main-item.c:
+ (selection_interface_clear_selection):
+ * e-table/gal-a11y-e-cell-tree.c: (ectr_subcell_weak_ref),
+ (gal_a11y_e_cell_tree_get_type):
+
+ - Fix warnings from sparse.
+
2007-09-10 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #471791
diff --git a/a11y/addressbook/ea-addressbook.c b/a11y/addressbook/ea-addressbook.c
index cb7eadd90d..4d31062656 100644
--- a/a11y/addressbook/ea-addressbook.c
+++ b/a11y/addressbook/ea-addressbook.c
@@ -61,7 +61,7 @@ void eab_view_a11y_init (void)
EA_SET_FACTORY (eab_view_get_type (), ea_ab_view);
}
-gboolean
+static gboolean
ea_addressbook_focus_watcher (GSignalInvocationHint *ihint,
guint n_param_values,
const GValue *param_values,
diff --git a/a11y/calendar/ea-cal-view.c b/a11y/calendar/ea-cal-view.c
index 360278ccb2..ad52976ca1 100644
--- a/a11y/calendar/ea-cal-view.c
+++ b/a11y/calendar/ea-cal-view.c
@@ -396,7 +396,7 @@ action_interface_get_keybinding (AtkAction *action, gint index)
return NULL;
if (!GTK_WIDGET_IS_SENSITIVE (widget) || !GTK_WIDGET_VISIBLE (widget))
- return FALSE;
+ return NULL;
switch (index) {
case 0:
diff --git a/a11y/calendar/ea-calendar.c b/a11y/calendar/ea-calendar.c
index 48c053ac23..8c2167fac5 100644
--- a/a11y/calendar/ea-calendar.c
+++ b/a11y/calendar/ea-calendar.c
@@ -125,7 +125,7 @@ e_week_view_main_item_a11y_init (void)
EA_SET_FACTORY (e_week_view_main_item_get_type (), ea_week_view_main_item);
}
-gboolean
+static gboolean
ea_calendar_focus_watcher (GSignalInvocationHint *ihint,
guint n_param_values,
const GValue *param_values,
diff --git a/a11y/calendar/ea-week-view-main-item.c b/a11y/calendar/ea-week-view-main-item.c
index 794b0176f7..17220fd185 100644
--- a/a11y/calendar/ea-week-view-main-item.c
+++ b/a11y/calendar/ea-week-view-main-item.c
@@ -1166,7 +1166,7 @@ selection_interface_clear_selection (AtkSelection *selection)
atk_gobj = ATK_GOBJECT_ACCESSIBLE (ea_main_item);
g_obj = atk_gobject_accessible_get_object (atk_gobj);
if (!g_obj)
- return -1;
+ return FALSE;
main_item = E_WEEK_VIEW_MAIN_ITEM (g_obj);
week_view = main_item->week_view;
diff --git a/a11y/e-table/gal-a11y-e-cell-tree.c b/a11y/e-table/gal-a11y-e-cell-tree.c
index e62f6b357e..abc0c67ddb 100644
--- a/a11y/e-table/gal-a11y-e-cell-tree.c
+++ b/a11y/e-table/gal-a11y-e-cell-tree.c
@@ -72,7 +72,7 @@ static void
ectr_subcell_weak_ref (GalA11yECellTree *a11y,
GalA11yECell *subcell_a11y)
{
- ECellView *subcell_view = subcell_a11y ? subcell_a11y->cell_view : 0;
+ ECellView *subcell_view = subcell_a11y ? subcell_a11y->cell_view : NULL;
if (subcell_a11y && subcell_view && subcell_view->kill_view_cb_data)
subcell_view->kill_view_cb_data = g_list_remove(subcell_view->kill_view_cb_data, subcell_a11y);