aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-13 19:02:58 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-13 19:37:18 +0800
commitba58113720953da388390515cca8f83cbd4440ef (patch)
treeb2057113b08d45c5b610b06abb9d60a02cae3d6c
parentb176e4b26a65bcc92b9e38b0ef1ce1ecc6229749 (diff)
downloadgsoc2013-empathy-ba58113720953da388390515cca8f83cbd4440ef.tar
gsoc2013-empathy-ba58113720953da388390515cca8f83cbd4440ef.tar.gz
gsoc2013-empathy-ba58113720953da388390515cca8f83cbd4440ef.tar.bz2
gsoc2013-empathy-ba58113720953da388390515cca8f83cbd4440ef.tar.lz
gsoc2013-empathy-ba58113720953da388390515cca8f83cbd4440ef.tar.xz
gsoc2013-empathy-ba58113720953da388390515cca8f83cbd4440ef.tar.zst
gsoc2013-empathy-ba58113720953da388390515cca8f83cbd4440ef.zip
empathy_notify_manager_init: no need to cast the return value of g_object_new
-rw-r--r--libempathy-gtk/empathy-notify-manager.c3
1 files changed, 1 insertions, 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