aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-presence-chooser.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-06 21:48:49 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-08 20:36:14 +0800
commitd5269ccea8739cc0cd0c40f1673ecfbeee8eb667 (patch)
tree3bd071d049c783b6e520ce183f1b438a37e9f91b /libempathy-gtk/empathy-presence-chooser.c
parent1e7ad4e03e46b877974b7f73d28dbc737ec9a977 (diff)
downloadgsoc2013-empathy-d5269ccea8739cc0cd0c40f1673ecfbeee8eb667.tar
gsoc2013-empathy-d5269ccea8739cc0cd0c40f1673ecfbeee8eb667.tar.gz
gsoc2013-empathy-d5269ccea8739cc0cd0c40f1673ecfbeee8eb667.tar.bz2
gsoc2013-empathy-d5269ccea8739cc0cd0c40f1673ecfbeee8eb667.tar.lz
gsoc2013-empathy-d5269ccea8739cc0cd0c40f1673ecfbeee8eb667.tar.xz
gsoc2013-empathy-d5269ccea8739cc0cd0c40f1673ecfbeee8eb667.tar.zst
gsoc2013-empathy-d5269ccea8739cc0cd0c40f1673ecfbeee8eb667.zip
simplify empathy_presence_chooser_new
Diffstat (limited to 'libempathy-gtk/empathy-presence-chooser.c')
-rw-r--r--libempathy-gtk/empathy-presence-chooser.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c
index 11634b255..cd9b4559c 100644
--- a/libempathy-gtk/empathy-presence-chooser.c
+++ b/libempathy-gtk/empathy-presence-chooser.c
@@ -983,11 +983,7 @@ presence_chooser_finalize (GObject *object)
GtkWidget *
empathy_presence_chooser_new (void)
{
- GtkWidget *chooser;
-
- chooser = g_object_new (EMPATHY_TYPE_PRESENCE_CHOOSER, NULL);
-
- return chooser;
+ return g_object_new (EMPATHY_TYPE_PRESENCE_CHOOSER, NULL);
}
static void