file chooser: Avoid triggering assertions

cairo surfaces are boxed types, so don't try to set them
with g_value_set_object().
This commit is contained in:
Matthias Clasen 2015-03-02 15:53:35 -05:00
parent d2fe45ab57
commit 18de5e6547

View File

@ -4030,7 +4030,7 @@ file_system_model_set (GtkFileSystemModel *model,
}
}
else
g_value_set_object (value, NULL);
g_value_set_boxed (value, NULL);
break;
case MODEL_COL_SIZE:
g_value_set_int64 (value, info ? g_file_info_get_size (info) : 0);