aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-list-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-02 09:12:44 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-02 09:12:44 +0800
commit8962868ff902e58456c545478e62796029d1fe5c (patch)
treed43efa77beba51f716a259a3538dd55a38711923 /calendar/gui/e-cal-list-view.c
parent6b2a55be48922c9fe5c94d654a4d463f23a428f2 (diff)
downloadgsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar.gz
gsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar.zst
gsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.zip
Relax the EBinding API to reduce GObject casting.
Also make it more fault-tolerant by warning about non-existent property names instead of just crashing.
Diffstat (limited to 'calendar/gui/e-cal-list-view.c')
-rw-r--r--calendar/gui/e-cal-list-view.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/e-cal-list-view.c b/calendar/gui/e-cal-list-view.c
index 42e7f941eb..7d95e41aa8 100644
--- a/calendar/gui/e-cal-list-view.c
+++ b/calendar/gui/e-cal-list-view.c
@@ -220,20 +220,20 @@ setup_e_table (ECalListView *cal_list_view)
NULL);
e_mutual_binding_new (
- G_OBJECT (model), "timezone",
- G_OBJECT (cell), "timezone");
+ model, "timezone",
+ cell, "timezone");
e_mutual_binding_new (
- G_OBJECT (model), "use-24-hour-format",
- G_OBJECT (cell), "use-24-hour-format");
+ model, "use-24-hour-format",
+ cell, "use-24-hour-format");
popup_cell = e_cell_date_edit_new ();
e_cell_popup_set_child (E_CELL_POPUP (popup_cell), cell);
g_object_unref (cell);
e_mutual_binding_new (
- G_OBJECT (model), "use-24-hour-format",
- G_OBJECT (popup_cell), "use-24-hour-format");
+ model, "use-24-hour-format",
+ popup_cell, "use-24-hour-format");
e_table_extras_add_cell (extras, "dateedit", popup_cell);
cal_list_view->dates_cell = E_CELL_DATE_EDIT (popup_cell);