aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c
index 8c005a029..83475b565 100644
--- a/libempathy-gtk/empathy-avatar-chooser.c
+++ b/libempathy-gtk/empathy-avatar-chooser.c
@@ -810,14 +810,14 @@ avatar_chooser_drag_data_received_cb (GtkWidget *widget,
if (input_stream != NULL) {
GFileInfo *info;
-
+
info = g_file_query_info (file,
G_FILE_ATTRIBUTE_STANDARD_SIZE,
0, NULL, NULL);
if (info != NULL) {
goffset size;
gssize bytes_read;
-
+
size = g_file_info_get_size (info);
data = g_malloc (size);
@@ -838,7 +838,7 @@ avatar_chooser_drag_data_received_cb (GtkWidget *widget,
g_object_unref (input_stream);
}
-
+
g_object_unref (file);
}