aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-popup.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-17 02:24:31 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-01-17 07:52:52 +0800
commit992c8b7d58025cf4d04ed3665210f191c8048339 (patch)
treeed04bd47c142c1a35820b03c6df8e8455d86f15c /widgets/table/e-cell-popup.c
parent2c476af581cc64bb3de8edc726149a7d8e9677b8 (diff)
downloadgsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar.gz
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar.bz2
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar.lz
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar.xz
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar.zst
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.zip
libetable cleanups.
Diffstat (limited to 'widgets/table/e-cell-popup.c')
-rw-r--r--widgets/table/e-cell-popup.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/widgets/table/e-cell-popup.c b/widgets/table/e-cell-popup.c
index ad2009d0ac..5e89b6c37d 100644
--- a/widgets/table/e-cell-popup.c
+++ b/widgets/table/e-cell-popup.c
@@ -109,14 +109,14 @@ static gint e_cell_popup_do_popup (ECellPopupView *ecp_view,
gint row,
gint model_col);
-G_DEFINE_TYPE (ECellPopup, e_cell_popup, E_CELL_TYPE)
+G_DEFINE_TYPE (ECellPopup, e_cell_popup, E_TYPE_CELL)
static void
-e_cell_popup_class_init (ECellPopupClass *klass)
+e_cell_popup_class_init (ECellPopupClass *class)
{
- ECellClass *ecc = E_CELL_CLASS (klass);
+ ECellClass *ecc = E_CELL_CLASS (class);
- G_OBJECT_CLASS (klass)->dispose = e_cell_popup_dispose;
+ G_OBJECT_CLASS (class)->dispose = e_cell_popup_dispose;
ecc->new_view = ecp_new_view;
ecc->kill_view = ecp_kill_view;
@@ -133,7 +133,7 @@ e_cell_popup_class_init (ECellPopupClass *klass)
ecc->get_bg_color = ecp_get_bg_color;
gal_a11y_e_cell_registry_add_cell_type (NULL,
- E_CELL_POPUP_TYPE,
+ E_TYPE_CELL_POPUP,
gal_a11y_e_cell_popup_new);
}
@@ -152,11 +152,9 @@ e_cell_popup_init (ECellPopup *ecp)
* Returns: an ECellPopup object.
*/
ECell *
-e_cell_popup_new (void)
+e_cell_popup_new (void)
{
- ECellPopup *ecp = g_object_new (E_CELL_POPUP_TYPE, NULL);
-
- return (ECell*) ecp;
+ return g_object_new (E_TYPE_CELL_POPUP, NULL);
}
static void