aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-table.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-calendar-table.c
parent6b2a55be48922c9fe5c94d654a4d463f23a428f2 (diff)
downloadgsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar
gsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar.gz
gsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar.bz2
gsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar.lz
gsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar.xz
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-calendar-table.c')
-rw-r--r--calendar/gui/e-calendar-table.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 1122310a49..59abdd5d77 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -659,20 +659,20 @@ calendar_table_constructed (GObject *object)
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_table->dates_cell = E_CELL_DATE_EDIT (popup_cell);