[empathy] empathy_notify_manager_init: no need to cast the return value of g_object_new



commit ba58113720953da388390515cca8f83cbd4440ef
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Nov 13 11:02:58 2009 +0000

    empathy_notify_manager_init: no need to cast the return value of g_object_new

 libempathy-gtk/empathy-notify-manager.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-notify-manager.c b/libempathy-gtk/empathy-notify-manager.c
index 49fdd28..6a9ee39 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]