From 8962868ff902e58456c545478e62796029d1fe5c Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 1 Sep 2009 21:12:44 -0400 Subject: 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. --- plugins/mail-notification/mail-notification.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins') diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c index f6272ba873..ccdbeab7e0 100644 --- a/plugins/mail-notification/mail-notification.c +++ b/plugins/mail-notification/mail-notification.c @@ -525,8 +525,8 @@ get_config_widget_status (void) gtk_widget_show (widget); e_binding_new ( - G_OBJECT (master), "active", - G_OBJECT (widget), "sensitive"); + master, "active", + widget, "sensitive"); container = widget; @@ -743,8 +743,8 @@ get_config_widget_sound (void) gtk_widget_show (widget); e_binding_new ( - G_OBJECT (master), "active", - G_OBJECT (widget), "sensitive"); + master, "active", + widget, "sensitive"); container = widget; -- cgit v1.2.3