diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-12 02:56:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-13 20:28:58 +0800 |
commit | cd53ba990035bdb4861d9660917d457533d4ecb2 (patch) | |
tree | d9c9da2208f4a921c514497ea92d27e3d88481d1 /calendar/gui/ea-day-view-main-item.c | |
parent | b2b27cfa1bfcd6efdac30d2745a6e8cd4e6de134 (diff) | |
download | gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.gz gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.zst gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.zip |
Coding style cleanups.
Diffstat (limited to 'calendar/gui/ea-day-view-main-item.c')
-rw-r--r-- | calendar/gui/ea-day-view-main-item.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/calendar/gui/ea-day-view-main-item.c b/calendar/gui/ea-day-view-main-item.c index 861b83746b..a4cb0267d9 100644 --- a/calendar/gui/ea-day-view-main-item.c +++ b/calendar/gui/ea-day-view-main-item.c @@ -29,7 +29,7 @@ #include <glib/gi18n.h> /* EaDayViewMainItem */ -static void ea_day_view_main_item_class_init(EaDayViewMainItemClass *klass); +static void ea_day_view_main_item_class_init (EaDayViewMainItemClass *klass); static void ea_day_view_main_item_finalize (GObject *object); static G_CONST_RETURN gchar * @@ -191,7 +191,7 @@ ea_day_view_main_item_get_type (void) */ factory = atk_registry_get_factory (atk_get_default_registry (), - e_day_view_main_item_get_type()); + e_day_view_main_item_get_type ()); derived_atk_type = atk_object_factory_get_accessible_type (factory); g_type_query (derived_atk_type, &query); @@ -370,7 +370,7 @@ ea_day_view_main_item_ref_child (AtkObject *accessible, gint index) ea_cell_table_set_cell_at_index (cell_data, index, cell); g_object_unref (cell); } - return g_object_ref (atk_gobject_accessible_for_object (G_OBJECT(cell))); + return g_object_ref (atk_gobject_accessible_for_object (G_OBJECT (cell))); } static AtkObject * @@ -597,12 +597,12 @@ ea_day_view_main_item_get_cell_data (EaDayViewMainItem *ea_main_item) main_item = E_DAY_VIEW_MAIN_ITEM (g_obj); day_view = e_day_view_main_item_get_day_view (main_item); - cell_data = g_object_get_data (G_OBJECT(ea_main_item), + cell_data = g_object_get_data (G_OBJECT (ea_main_item), "ea-day-view-cell-table"); if (!cell_data) { cell_data = ea_cell_table_create (day_view->rows, day_view->days_shown, TRUE); - g_object_set_data (G_OBJECT(ea_main_item), + g_object_set_data (G_OBJECT (ea_main_item), "ea-day-view-cell-table", cell_data); } return cell_data; @@ -615,10 +615,10 @@ ea_day_view_main_item_destory_cell_data (EaDayViewMainItem *ea_main_item) g_return_if_fail (ea_main_item); - cell_data = g_object_get_data (G_OBJECT(ea_main_item), + cell_data = g_object_get_data (G_OBJECT (ea_main_item), "ea-day-view-cell-table"); if (cell_data) { - g_object_set_data (G_OBJECT(ea_main_item), + g_object_set_data (G_OBJECT (ea_main_item), "ea-day-view-cell-table", NULL); ea_cell_table_destroy (cell_data); } @@ -648,7 +648,7 @@ component_interface_get_extents (AtkComponent *component, g_return_if_fail (EA_IS_DAY_VIEW_MAIN_ITEM (component)); - g_obj = atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE(component)); + g_obj = atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (component)); if (!g_obj) /* defunct object*/ return; |