aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/calendar
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2007-10-29 21:06:24 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2007-10-29 21:06:24 +0800
commita268b48b49f9e766d0e3475f1ff5a46b223a2db3 (patch)
tree36f252349444001b460bf793e0a6e3eadc19a6a5 /a11y/calendar
parent19993ca2f036d7dbea66f6ed02e2d4740f0659f9 (diff)
downloadgsoc2013-evolution-a268b48b49f9e766d0e3475f1ff5a46b223a2db3.tar.gz
gsoc2013-evolution-a268b48b49f9e766d0e3475f1ff5a46b223a2db3.tar.zst
gsoc2013-evolution-a268b48b49f9e766d0e3475f1ff5a46b223a2db3.zip
- Fix warnings from sparse.
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. svn path=/trunk/; revision=34450
Diffstat (limited to 'a11y/calendar')
-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
3 files changed, 3 insertions, 3 deletions
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;