From ba58113720953da388390515cca8f83cbd4440ef Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 13 Nov 2009 11:02:58 +0000 Subject: empathy_notify_manager_init: no need to cast the return value of g_object_new --- libempathy-gtk/empathy-notify-manager.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libempathy-gtk/empathy-notify-manager.c b/libempathy-gtk/empathy-notify-manager.c index 49fdd2859..6a9ee3971 100644 --- a/libempathy-gtk/empathy-notify-manager.c +++ b/libempathy-gtk/empathy-notify-manager.c @@ -113,8 +113,7 @@ empathy_notify_manager_init (EmpathyNotifyManager *self) EmpathyNotifyManager * empathy_notify_manager_dup_singleton (void) { - return EMPATHY_NOTIFY_MANAGER (g_object_new (EMPATHY_TYPE_NOTIFY_MANAGER, - NULL)); + return g_object_new (EMPATHY_TYPE_NOTIFY_MANAGER, NULL); } gboolean -- cgit v1.2.3