diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-07-06 21:48:49 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-07-08 20:36:14 +0800 |
commit | d5269ccea8739cc0cd0c40f1673ecfbeee8eb667 (patch) | |
tree | 3bd071d049c783b6e520ce183f1b438a37e9f91b | |
parent | 1e7ad4e03e46b877974b7f73d28dbc737ec9a977 (diff) | |
download | gsoc2013-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
-rw-r--r-- | libempathy-gtk/empathy-presence-chooser.c | 6 |
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 |