diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-04-16 20:29:33 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-04-16 20:29:33 +0800 |
commit | 293340151049a04517bb3741172a1f6750ddeabb (patch) | |
tree | 01d57d7d9d310f7254ef7166ef5311d74de64650 /libempathy-gtk/empathy-account-widget-sip.c | |
parent | 5d0a01756d410f44588870dabbed42145f2b765e (diff) | |
download | gsoc2013-empathy-293340151049a04517bb3741172a1f6750ddeabb.tar gsoc2013-empathy-293340151049a04517bb3741172a1f6750ddeabb.tar.gz gsoc2013-empathy-293340151049a04517bb3741172a1f6750ddeabb.tar.bz2 gsoc2013-empathy-293340151049a04517bb3741172a1f6750ddeabb.tar.lz gsoc2013-empathy-293340151049a04517bb3741172a1f6750ddeabb.tar.xz gsoc2013-empathy-293340151049a04517bb3741172a1f6750ddeabb.tar.zst gsoc2013-empathy-293340151049a04517bb3741172a1f6750ddeabb.zip |
Refactor the floating ref hack into a new function
From: Xavier Claessens <xclaesse@gmail.com>
svn path=/trunk/; revision=2871
Diffstat (limited to 'libempathy-gtk/empathy-account-widget-sip.c')
-rw-r--r-- | libempathy-gtk/empathy-account-widget-sip.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-account-widget-sip.c b/libempathy-gtk/empathy-account-widget-sip.c index ffac231d6..2d4944779 100644 --- a/libempathy-gtk/empathy-account-widget-sip.c +++ b/libempathy-gtk/empathy-account-widget-sip.c @@ -115,9 +115,5 @@ empathy_account_widget_sip_new (McAccount *account) "checkbutton_discover-stun", "toggled", account_widget_sip_discover_stun_toggled_cb, NULL); - g_object_ref (settings->vbox_settings); - g_object_force_floating (G_OBJECT (settings->vbox_settings)); - g_object_unref (gui); - - return settings->vbox_settings; + return empathy_builder_unref_and_keep_widget (gui, settings->vbox_settings); } |