aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ft-manager.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2008-11-22 00:19:11 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:19:11 +0800
commitc78ae5535221ebc44e522a3b9596257863f2fcde (patch)
tree8c331d1e5593c8cd7eba359f4bf69b6478c66aa4 /libempathy-gtk/empathy-ft-manager.c
parentf51f298be1fda973e7db223a2a5a9b35a1807f8f (diff)
downloadgsoc2013-empathy-c78ae5535221ebc44e522a3b9596257863f2fcde.tar
gsoc2013-empathy-c78ae5535221ebc44e522a3b9596257863f2fcde.tar.gz
gsoc2013-empathy-c78ae5535221ebc44e522a3b9596257863f2fcde.tar.bz2
gsoc2013-empathy-c78ae5535221ebc44e522a3b9596257863f2fcde.tar.lz
gsoc2013-empathy-c78ae5535221ebc44e522a3b9596257863f2fcde.tar.xz
gsoc2013-empathy-c78ae5535221ebc44e522a3b9596257863f2fcde.tar.zst
gsoc2013-empathy-c78ae5535221ebc44e522a3b9596257863f2fcde.zip
Use g_slice functions with ReceiveResponseData. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1822
Diffstat (limited to 'libempathy-gtk/empathy-ft-manager.c')
-rw-r--r--libempathy-gtk/empathy-ft-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-ft-manager.c b/libempathy-gtk/empathy-ft-manager.c
index a4857e288..a882732ce 100644
--- a/libempathy-gtk/empathy-ft-manager.c
+++ b/libempathy-gtk/empathy-ft-manager.c
@@ -747,7 +747,7 @@ ft_manager_receive_response_data_free (ReceiveResponseData *response_data)
g_object_unref (response_data->tp_file);
g_object_unref (response_data->ft_manager);
- g_free (response_data);
+ g_slice_free (ReceiveResponseData, response_data);
}
static void
@@ -944,7 +944,7 @@ ft_manager_display_accept_dialog (EmpathyFTManager *ft_manager,
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_widget_grab_default (button);
- response_data = g_new0 (ReceiveResponseData, 1);
+ response_data = g_slice_new0 (ReceiveResponseData);
response_data->ft_manager = g_object_ref (ft_manager);
response_data->tp_file = g_object_ref (tp_file);